Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
PeterisP
on Oct 6, 2013
|
parent
|
context
|
favorite
| on:
Your server as a function [pdf]
Interacting with a DB or reading a html file from disk is in essence non-pure.
pka
on Oct 7, 2013
[–]
[1] is a good simple explanation of what FRP is about. A DB interaction for example can be viewed as a pure function from a signal of Requests to a signal of Records. Same with files (Signal Path -> Signal FileContents), etc.
[1]
http://elm-lang.org/learn/What-is-FRP.elm
Consider applying for YC's Winter 2027 batch!
Applications
are open till November 2.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: