1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# iClean
Interactive Clean
This module allows you to execute Clean commands interactively, similar to GHCi or the Python shell. Functionality is very limited. In particular there is **no memory**, so you're restricted to one-liners.
Copyright © 2015 Camil Staps. This project is licensed under the MIT license. For more details, see the LICENSE file.
## Example session
$ ./iclean
> [1,2,3,4]
[1,2,3,4]
> map toString [1..10]
["1","2","3","4","5","6","7","8","9","10"]
> [Ctrl-D]
$
## Installation
make iclean
## Running
Either
./iclean
or
make run
## Todo
* Implement memory (e.g. to first declare a function / constant and then use it)
* Commands memory (scroll through previous commands with arrow keys)
* Imports
|