Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 377 Bytes

lib-s-expression.md

File metadata and controls

24 lines (15 loc) · 377 Bytes
type S = SNil
       | SAtom { CString }
       | SCons { S[], S[] }
       | SPointer { ?[] }

print : S -> Nil

to-string : S -> String

== : (S, S) -> Bool

!= : (S, S) -> Bool

< : (S, S) -> Bool

<= : (S, S) -> Bool

> : (S, S) -> Bool

>= : (S, S) -> Bool