hsnock-0.5.0: Nock 5K interpreter.

Safe HaskellNone

Language.Nock5K

Synopsis

Documentation

data Noun Source

A noun is an atom or a cell. An atom is any natural number. A cell is an ordered pair of nouns.

Constructors

Atom !Integer 
!Noun :- !Noun 

Instances

type Nock = Either StringSource

Monad representing either a computed result or an error message.

nock :: Noun -> Nock NounSource

  nock(a)           *a