fix README formatting
This commit is contained in:
parent
77b49494b5
commit
dcb52ad6eb
12
README.md
12
README.md
|
@ -4,13 +4,11 @@ It's not meant for real-world use but for educational purposes on writing an int
|
|||
|
||||
**Features**
|
||||
|
||||
* No re-assignment (i.e., once you bind a value, you can't re-assign it)
|
||||
* Pattern matching
|
||||
f([]) -> "nothing".
|
||||
f([a]) -> one thing".
|
||||
* Imperative I/O
|
||||
* Higher-order functions
|
||||
* Partial evaluation on curried functions
|
||||
* No re-assignment (i.e., once you bind a value, you can't re-assign it)
|
||||
* Pattern matching: `f([]) -> "nothing". f([a]) -> one thing".`
|
||||
* Imperative I/O
|
||||
* Higher-order functions
|
||||
* Partial evaluation on curried functions
|
||||
|
||||
|
||||
**Hello World!**
|
||||
|
|
4
ast.hs
4
ast.hs
|
@ -1,3 +1,7 @@
|
|||
-- AST definition for the Lamb programming language
|
||||
-- Copyright (c) 2013 darkf
|
||||
-- Licensed under the terms of the zlib license, see LICENSE for details
|
||||
|
||||
module AST where
|
||||
|
||||
data AST = Add AST AST
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
-- Interpreter for the Lamb programming language
|
||||
-- Copyright (c) 2013 darkf
|
||||
-- Licensed under the terms of the zlib license, see LICENSE for details
|
||||
|
||||
module Interp where
|
||||
import Prelude hiding (lookup)
|
||||
import qualified Data.Map as M
|
||||
|
|
Loading…
Reference in New Issue