hnock

A Nock interpreter.
Log | Files | Refs | README | LICENSE

commit e58207f5d8ba0b21cc9f8d99a1b4772bcf02d064
parent b3060c206e392aa530a5e2975a128815df5c4a72
Author: Jared Tobin <jared@jtobin.io>
Date:   Sun, 29 Sep 2019 21:53:24 +0400

Use 'Natural' instead of 'Integer' for atoms.

Diffstat:
Mlib/Nock/Language.hs | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/Nock/Language.hs b/lib/Nock/Language.hs @@ -3,8 +3,10 @@ module Nock.Language ( , Expr(..) ) where +import Numeric.Natural (Natural) + data Noun = - Atom Integer + Atom Natural | Cell Noun Noun deriving Eq