- Introduction to Functional Programming Johannes Weiß - http://kcy.me/1ngiv
- ReactiveCocoa at MobiDevDay Andrew Sardone - http://kcy.me/1nhl3
- The Future Of ReactiveCocoa Justin Spahr-Summers - http://kcy.me/1nhs7
- Enemy of the State Justin Spahr-Summers - http://kcy.me/1njzs
- WWDC 2014 Session 229 - Advanced iOS Application Architecture and Patterns Andy Matuschak - http://kcy.me/1pyva
- Functioning as a Functionalist Andy Matuschak - http://kcy.me/22o45
- Controlling Complexity in Swift Andy Matuschak - http://kcy.me/23sc9
- Functional and reactive programming with Swift Ash Furrow -
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
accumResult st = TR.mapAccumL (renderTableQueue st) 1 (state.queuelist) | |
getTheResult { value } = value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval (HandleSearchBox st str next) = do | |
let packages = _.name <$> | |
Arr.filter (packageContained str) st.package | |
_ <- H.subscribe | |
(H.eventSource | |
(\k -> J.select "#search" >>= Misc.autocomplete { source: packages | |
, select: k | |
}) | |
(\a -> Just $ SearchBoxChange (a.item.value) H.Listening)) | |
pure next |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM haskell:8 as builder | |
WORKDIR /opt/server/hmb | |
RUN cabal update | |
RUN apt-get update && \ | |
apt-get install -y postgresql-9.4 libpq-dev | |
ADD hackage-matrix-builder /opt/server/hmb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? import <nixpkgs> {} | |
}: | |
let | |
inherit (nixpkgs) pkgs; | |
activate = pkgs.writeScriptBin "activate" '' | |
#!${pkgs.bash}/bin/bash -e | |
''; | |
frontend = import ./frontend {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
nginxCfg = { | |
enable = true; | |
config = '' | |
events { | |
worker_connections 1024; | |
} | |
http { | |
server { | |
listen 0.0.0.0:80; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "arda-tryout", | |
"version": "0.1.0", | |
"private": true, | |
"main": "index.js", | |
"scripts": { | |
"start": "webpack-dev-server", | |
"eject": "react-scripts eject", | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"build": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p --progress --hide-modules --display-optimization-bailout", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? import <nixpkgs> {} | |
, compiler ? "ghc822" | |
}: | |
let | |
inherit (nixpkgs) pkgs; | |
newCabal = import ./nixdeps/cabal.nix; | |
haskellPackages = pkgs.haskell.packages.${compiler}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ mkDerivation, aeson, base, bytestring, servant, servant-auth | |
, stdenv, text | |
}: | |
mkDerivation { | |
pname = "auth-api"; | |
version = "0.0.1.0"; | |
src = ./.; | |
libraryHaskellDepends = [ | |
aeson base bytestring servant servant-auth text | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main :: IO () | |
main = mainWidgetWithHead headElement bodyElement | |
headElement :: MonadWidget t m => m () | |
headElement = do | |
el "title" $ text "Rizilab - Home" | |
styleSheet "index.css" | |
where | |
styleSheet link = elAttr "link" (Map.fromList [ | |
("rel", "stylesheet") |
OlderNewer