This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
- Haskell is a functional programming language.
.bended-shadow {position:relative} | |
.bended-shadow::before, .bended-shadow::after { | |
content: ''; | |
position: absolute; | |
width: 60%; | |
height: 20px; | |
-webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); | |
-moz-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); | |
-ms-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); |
.bended-shadow { | |
position: relative; | |
width: 500px; | |
margin: 200px auto; | |
} | |
.bended-shadow::before, .bended-shadow::after { | |
content: ''; | |
position: absolute; | |
width: 60%; |
main :: IO () | |
main = scotty 3000 app | |
app :: ScottyM () | |
app = do | |
rcon <- liftIO $ R.connect R.defaultConnectInfo {R.connectPort = R.UnixSocket "redis.sock"} | |
get "/favicon.ico" $ html "ಠ_ಠ" | |
get "/:method" $ do |
This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
This is a short guide that will teach you the workflows that have been figured out by the voxel.js community for writing node modules + sharing them on NPM and Github. It is assumed that you have a basic understanding of JavaScript, github and the command line (if not you can check out an introduction to git and the command line or learn JS basics from JavaScript for Cats)
The voxel-tower repository on github contains all the example code from this guide.
HEDGE = node riphedge | |
all: | |
npm install ripple-lib | |
hedge: | |
$(HEDGE) | tee hedge.txt | |
grep -q Ask hedge.txt | |
mailx -s "`grep Ripples hedge.txt`" me <hedge.txt |
;; Prevent the cursor from blinking | |
(blink-cursor-mode 0) | |
;; Don't use messages that you don't read | |
(setq initial-scratch-message "") | |
(setq inhibit-startup-message t) | |
;; Don't let Emacs hurt your ears | |
(setq visible-bell t) | |
;; You need to set `inhibit-startup-echo-area-message' from the | |
;; customization interface: |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
-- | |
-- Hello-World of the cordova/phonegap application using Haskell. | |
-- | |
-- here is the screenshoot | |
-- | |
-- https://twitter.com/AGoCorona/status/532948528621178880 | |
-- | |
-- So that Haste-Haskell can be used to create hybrid smartphone applications | |
-- | |
-- The original cordova JavaScript hello world is installed following the instructions of this page |
Partial transcript (35:10–39:10)
Derek Prior: “How is that ecosystem? I know when we first deployed things, it wasn’t going particularly well.”
Pat Brisbin: “Although the deployment was difficult, the ecosystem’s great. There’s, like I said, thousands of libraries to do anything that you need.”