- cabal install binary
- git clone git@github.com:reverendpaco/Haskell-Dictionary-Trie.git
- cd ./Haskell-Dictionary-Trie/src
- ghc --make WordServer.hs
- ./WordServer (listens on 9900)
- (on another terminal) telnet localhost 9900
- type in letters "SERSPATGLINESERSOO" which will be wrapped into the closest approximate square, for example
SERSPATGLINESERSOO ->
S E R S P A T G L I N E S E R S O O
- hit return
- watch as the words in this board are returned to you
- ghc --make WordSolver.hs
- ./WorldSolver SERSPATGLINESERSOO
- watch as the words in this board are printed out
Ahh, more recent versions of the haskell platform hide the use of Data.Binary (which I use)
- ghc Board.hs -package ghc-binary-0.5.0.2 The above shows how you can specifically add the ghc package that containts Data.Binary
I guess I must refactor this to use a non-internal module set. So much to do.