Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions exercises/forth/HINTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ and implement the following functions:
- `toList` returns the current stack as a list, with the element on top
of the stack being the rightmost (last) element.

You will find the type signatures already in place, but it is up to you
to define the functions.
You will find a dummy data declaration and type signatures already in place,
but it is up to you to define the functions and create a meaningful data type,
newtype or type synonym.
2 changes: 2 additions & 0 deletions exercises/forth/src/Forth.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ data ForthError
| UnknownWord Text
deriving (Show, Eq)

data ForthState = Dummy

empty :: ForthState
empty = undefined

Expand Down