Sha256: c5a3f1f1d9d1e0283401e73dbc6cd668ce3723474a337a18eb02305456743eb9
Contents?: true
Size: 480 Bytes
Versions: 53
Compression:
Stored size: 480 Bytes
Contents
{-# LANGUAGE OverloadedStrings #-} module Forth ( ForthError(..) , ForthState , evalText , toList , empty ) where import Data.Text (Text) data ForthError = DivisionByZero | StackUnderflow | InvalidWord | UnknownWord Text deriving (Show, Eq) data ForthState = Dummy empty :: ForthState empty = undefined evalText :: Text -> ForthState -> Either ForthError ForthState evalText = undefined toList :: ForthState -> [Int] toList = undefined
Version data entries
53 entries across 53 versions & 1 rubygems