Getting Started with elλι
Welcome to elλι, a next-generation functional programming framework. This guide will walk you through setting up your environment and writing your first program.
1. Installation
Using npm
npm install -g eln
Verify the installation:
eln --version
2. Your First Program
Create a file named hello.eln
:
program HelloWorld where main = IO.println "Hello, elλι!"
Run the program:
eln run hello.eln
3. Core Concepts
Pattern Matching
match (shape) { | Circle(r) => pi * r^2 | Square(s) => s * s }
Type Safety
function add(a: Number, b: Number): Number { return a + b }
4. Next Steps
Explore the Docs
Dive deeper into elλι's advanced features in our comprehensive documentation.
View DocsJoin the Community
Connect with other developers on Discord and GitHub to share projects and ideas.
GitHub Community