mirror of
https://github.com/ilyakooo0/Idris-dev.git
synced 2024-09-21 22:17:19 +03:00
More in test003; requires latex epic fix
This commit is contained in:
parent
0bc69fbfd3
commit
001e2d50d8
@ -3,3 +3,5 @@ a
|
||||
d
|
||||
zabcdefg
|
||||
gfedcba
|
||||
[g, f, e, d, c, b, a]
|
||||
abcdefg
|
||||
|
@ -11,5 +11,9 @@ Literate main program
|
||||
> main = do { putStrLn (show (strHead st));
|
||||
> putStrLn (show (strIndex st 3));
|
||||
> putStrLn (strCons 'z' st);
|
||||
> putStrLn (rev st); };
|
||||
> putStrLn (rev st);
|
||||
> let x = unpack st;
|
||||
> putStrLn (show (rev x));
|
||||
> putStrLn (pack x);
|
||||
> };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user