Home Whiteboard Graphing Calculator Online Compilers Articles Tools

Explore Categories

Find the perfect tutorial for your learning journey

Python TechnologiesDatabasesComputer ProgrammingWeb DevelopmentJava TechnologiesComputer ScienceMobile DevelopmentBig Data & AnalyticsMicrosoft TechnologiesDevOpsLatest TechnologiesMachine LearningDigital MarketingSoftware QualityManagement Tutorials View All Categories
Tutorials Courses Jobs Login
Erlang Tutorial
  • Erlang - Home
  • Erlang - Overview
  • Erlang - Environment
  • Erlang - Basic Syntax
  • Erlang - Shell
  • Erlang - Data Types
  • Erlang - Variables
  • Erlang - Operators
  • Erlang - Loops
  • Erlang - Decision Making
  • Erlang - Functions
  • Erlang - Modules
  • Erlang - Recursion
  • Erlang - Numbers
  • Erlang - Strings
  • Erlang - Lists
  • Erlang - File I/O
  • Erlang - Atoms
  • Erlang - Maps
  • Erlang - Tuples
  • Erlang - Records
  • Erlang - Exceptions
  • Erlang - Macros
  • Erlang - Header Files
  • Erlang - Preprocessors
  • Erlang - Pattern Matching
  • Erlang - Guards
  • Erlang - BIFS
  • Erlang - Binaries
  • Erlang - Funs
  • Erlang - Processes
  • Erlang - Emails
  • Erlang - Databases
  • Erlang - Ports
  • Erlang - Distributed Programming
  • Erlang - OTP
  • Erlang - Concurrency
  • Erlang - Performance
  • Erlang - Drivers
  • Erlang - Web Programming
  • Erlang - Quick Guide
  • Erlang - Useful Resources
  • Erlang - Discussion
Selected Reading
  • UPSC IAS Exams Notes
  • Developer's Best Practices
  • Questions and Answers
  • Online Resume Builder
  • HR Interview Questions
  • Computer Glossary
  • Who is Who
Home Erlang Erlang - atom_to_list

Erlang - atom_to_list



Previous
Quiz
Next

This method is used to convert an atom to a list.

Syntax

Atom_to_list(atom)

Parameters

  • atom − This is the atom which needs to be converted to a list value.

Return Value

list value based on the input of the atom.

For example

-module(helloworld). 
-export([start/0]). 

start() ->   
   io:fwrite("~p~n",[atom_to_list(atom1)]).

Output

The output of the above program is as follows.

“atom1”
erlang_atoms.htm
Previous Quiz Next
Advertisements
  • ABOUT US
  • OUR TEAM
  • CAREERS
  • JOBS
  • CONTACT US
  • TERMS OF USE
  • PRIVACY POLICY
  • REFUND POLICY
  • COOKIES POLICY
  • FAQ'S
tutorials point logo
Download Android App Download IOS App

Tutorials Point is a leading Ed Tech company striving to provide the best learning material on technical and non-technical subjects.

Copyright 2026. All Rights Reserved.