1. LFE MACHINE MANUAL
  2. Title Page
  3. Copyright
  4. Preface
  5. About the Cover
  6. Dedication
  7. Forward
  8. Acknowledgments
  9. 1. Part I - Getting Started
    ❱
    1. 1.1. Introduction
    2. 1.2. WIP - About LFE
    3. 1.3. Prerequisites
    4. 1.4. Conventions
    5. 1.5. Development Setup
    6. 1.6. 'Hello, World!'
      ❱
      1. 1.6.1. Classic, REPL
      2. 1.6.2. Classic, main
      3. 1.6.3. LFE/OTP
    7. 1.7. Walk-through: An LFE Guessing Game
      ❱
      1. 1.7.1. Planning the Game
      2. 1.7.2. Code Explore
        ❱
        1. 1.7.2.1. Getting User Input
        2. 1.7.2.2. Checking the Input
      3. 1.7.3. Integrating into an Application
        ❱
        1. 1.7.3.1. handle_cast
        2. 1.7.3.2. Game API
        3. 1.7.3.3. Finishing Touches
        4. 1.7.3.4. Playing the Game
      4. 1.7.4. WIP - Review
    8. 1.8. The LFE REPL
      ❱
      1. 1.8.1. Core Features
      2. 1.8.2. Starting LFE
      3. 1.8.3. WIP - readline Support
      4. 1.8.4. (help)
        ❱
        1. 1.8.4.1. REPL Functions
        2. 1.8.4.2. REPL Commands
        3. 1.8.4.3. Special Variables
      5. 1.8.5. Command Interface
      6. 1.8.6. WIP - Job Control
      7. 1.8.7. Files
  10. 2. Part II - Code as Data
    ❱
    1. 2.1. Variables
      ❱
      1. 2.1.1. Bindings
      2. 2.1.2. Pattern-matching Preview
      3. 2.1.3. Globals Revisted
    2. 2.2. Primitive Types
      ❱
      1. 2.2.1. Integers
      2. 2.2.2. Floats
      3. 2.2.3. Atoms (Symbols)
      4. 2.2.4. Booleans
      5. 2.2.5. Characters
    3. 2.3. Cons Cells
    4. 2.4. Lists and Strings
    5. 2.5. Bytes and Binaries
    6. 2.6. Tuples
    7. 2.7. Property Lists
    8. 2.8. Maps
    9. 2.9. Arrays
    10. 2.10. Dicts
    11. 2.11. Records
    12. 2.12. Pattern Matching
    13. 2.13. Generic Sequence Functions
  11. 3. Part III - Data as Code
    ❱
    1. 3.1. Expressions
    2. 3.2. Functions
    3. 3.3. Closures
    4. 3.4. Evaluation
    5. 3.5. Expressions
    6. 3.6. Processes
    7. 3.7. Messages and Their Passing
    8. 3.8. Objects and Flavors
    9. 3.9. I/O
    10. 3.10. Accessing Files
    11. 3.11. Modules
    12. 3.12. Packages
    13. 3.13. Scripting with LFE
    14. 3.14. Creating LFE Projects
      ❱
      1. 3.14.1. Using rebar3
      2. 3.14.2. Project Layout Conventions
  12. 4. Part IV - Advanced Topics
    ❱
    1. 4.1. Errors and Debugging
    2. 4.2. Writing Unit Tests
    3. 4.3. The Common Test Framework
    4. 4.4. The Propr Test Framework
    5. 4.5. The Compiler
    6. 4.6. Macros
    7. 4.7. Distributed LFE
    8. 4.8. Ports and Port Drivers
    9. 4.9. Servers
    10. 4.10. Clients
  13. 5. Part V - OTP
    ❱
    1. 5.1. Behaviours
    2. 5.2. Applications
    3. 5.3. Releases
    4. 5.4. Tables and Databases
    5. 5.5. Example OTP Project
  14. 6. Part VI - Conclusion
    ❱
    1. 6.1. Epilogue
    2. 6.2. Afterword
  15. Glossary
  16. Bibliography
  17. Index
  18. Appendices
  19. I - Origins Of Lisp
  20. II - Origins Of Erlang
  21. III - Origins Of LFE
  22. Versions
  23. Feedback
  24. LFE Documentation
  25. Built with mdBook

LFE MACHINE MANUAL

Appendices