Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8406473
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:07:10+00:00 2026-06-09T23:07:10+00:00

I am new with functional programming languages and I can’t understand why in Erlang,

  • 0

I am new with functional programming languages and I can’t understand why in Erlang, if I take a BubbleSort, QuickSort or any other sorting algorithms and try to sort [8] it will return “\b”. Or [12,10,11] will return “\n\v\f”. Can someone please help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T23:07:12+00:00Added an answer on June 9, 2026 at 11:07 pm

    This is due to the fact that Erlang represents strings as lists of numbers. When printing such a list, the Erlang output function will look to see whether your list contains all numbers that correspond to ASCII character values. If so, then it prints your list as a string.

    It sounds like your code is working correctly. Try sorting [12345, 29348, 978] with your existing code to see what happens.

    See the reference manual section 2.11 String for information about this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Haskell and other functional programming languages are built around the premise of not maintaining
I'm new to scala and most functional languages and I'm currently trying to factor
Being relatively new to functional programming, I expend lots of energy wondering is this
I'm fairly new the functional programming, so I'm going through some practice exercises. I
Im new to php and have programmed in other languages. Im trying to solve
As someone relatively new to Haskell and functional programming, and coming mainly from a
I am new to programming. I have been trying to write a function in
I am new to iOS programming. I see that there are functions defined in
I am new in the functional side of C#, sorry if the question is
I'm new to C and I'm reading The C Programming Language by K&R to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.