mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +03:00
5 lines
157 B
Plaintext
5 lines
157 B
Plaintext
|
1/1: Building RLE (RLE.idr)
|
||
|
RLE> uncompress Empty = Val []
|
||
|
uncompress (Run n x rest) = let Val ys = uncompress rest in Val (rep n x ++ ys)
|
||
|
RLE> Bye for now!
|