Skip to content

m1nhtu99-hoan9/Haskell-Book-Final-fingerd

Repository files navigation

fingerd Daemon

Final project of the Haskell Book

Installation

  • To build
stack build
  • To intepret Main module for incremental development
$ stack ghci --main-is fingerd:exe:fingerd

Sample Usage

After stack build successfully, to run debug server

$ # In a Terminal window
$ sudo `stack exec which debug`
$ # In other Terminal window
$ telnet localhost 79
$ # Type something here, it will be echoed in `debug` server stdout
$ # Ubuntu 20.04
$ finger mnhthng@localhost
Login: mnhthng
Name: mnhthng
Directory: /home/mnhthng
Shell: /bin/zsh 

Side-notes

  • Source code formatted by brittany. To specify brittany to be default code formatter with Haskell Language Server in VSCode, add this to settings.json:
"haskell.formattingProvider": "brittany",

About

"Haskell Programming from First Principles" Final Project `fingerd`

Topics

Resources

License

Stars

Watchers

Forks