learnhaskell/code_to_learn_from.md

54 lines
1.6 KiB
Markdown
Raw Normal View History

2015-12-02 06:02:31 +00:00
# Note!
Code listed isn't necessarily complete or a usable product. The point is that the resource linked is mostly code and code that a beginner with a grasp of the basics could learn something from.
# My stuff
- https://github.com/bitemyapp/bloodhound Elasticsearch, mostly datatypes to describe Elasticsearch's query API and JSON parsing/generation.
- https://github.com/bitemyapp/blacktip Distributed k-ordered unique id service. Directly mimicking Flake which was itself based on Snowflake. Not correct/safe as I'm not using the system's monotonic clock.
# Users that write code people should learn from
- https://github.com/michaelxavier
- https://github.com/nikita-volkov somewhat advanced but pokes some interesting stuff
# File operations
- https://gist.github.com/twopoint718/cac0bbe52fd5f0d3b1be Enumerates files in a directory and organizes them by file extension
- https://gist.github.com/bitemyapp/2311fcbfa152ce0980ed Filewriter example from the Haskell.org wiki I believe
2015-12-02 06:10:27 +00:00
2015-12-02 06:02:31 +00:00
# Web apps
- https://github.com/bitemyapp/shawty-prime This URL shortener written in Scotty is explained in detail in [Haskell Programming](http://haskellbook.com)
- https://github.com/thoughtbot/carnival Yesod app. Sort of an open source clone of Disqus.
2015-12-02 06:10:27 +00:00
2015-12-02 06:02:31 +00:00
# Chat
## IRC bots
- https://wiki.haskell.org/Roll_your_own_IRC_bot
## Slack stuff
### Slack API client
- https://hackage.haskell.org/package/slack-api
2015-12-02 06:44:54 +00:00
### Slack bots
2015-12-02 06:02:31 +00:00
2015-12-02 06:44:54 +00:00
- https://github.com/hlian/linklater library/framework
2015-12-02 06:02:31 +00:00
2015-12-02 06:44:54 +00:00
- https://github.com/twopoint718/spocks-brain example bot/app
2015-12-02 06:02:31 +00:00
## Chat application in Servant + React
- https://github.com/farnoy/chat frontend is coffeescript, but the backend is in Haskell