I hereby claim:
- I am ryyppy on github.
- I am ryyppy (https://keybase.io/ryyppy) on keybase.
- I have a public key whose fingerprint is F6DE 3E10 8B7D 1A07 E148 7892 7F21 0FB3 C17E AE67
To claim this, I am signing this object:
| /** | |
| * What is the result of this program? | |
| */ | |
| function g() { | |
| console.log('g called') | |
| } | |
| function f() { | |
| g() |
| FROM amazonlinux:2016.09 | |
| # INSTALL NODE AND YARN | |
| WORKDIR /app | |
| ENV NPM_CONFIG_LOGLEVEL info | |
| ENV NODE_VERSION 7.7.0 | |
| # gcc -> needed for ocaml | |
| RUN yum install -y xz git gcc m4 which \ |
I hereby claim:
To claim this, I am signing this object:
| Debugger entered--Lisp error: (quit) | |
| (let ((len (length str))) (and (> (point) len) (equal str (buffer-substring-no-properties (- (point) len) (point))))) | |
| reason-looking-back-str("*/") | |
| (if (reason-looking-back-str "*/") (backward-char)) | |
| (let ((starting (point))) (skip-chars-backward "[:space:]\n") (if (reason-looking-back-str "*/") (backward-char)) (if (reason-in-str-or-cmnt) (reason-rewind-past-str-cmnt)) (if (/= starting (point)) (reason-rewind-irrelevant))) | |
| reason-rewind-irrelevant() | |
| (while (and (= current-level (reason-paren-level)) (not (looking-at reason-binding))) (reason-rewind-irrelevant) (reason-rewind-to-beginning-of-current-level-expr)) | |
| (save-excursion (while (and (= current-level (reason-paren-level)) (not (looking-at reason-binding))) (reason-rewind-irrelevant) (reason-rewind-to-beginning-of-current-level-expr)) (+ (current-column) reason-indent-offset)) | |
| (let ((current-level (reason-paren-level))) (save-excursion (while (and (= current-level (reason-paren-level)) (not (looking-at |
| /* @flow */ | |
| import { takeLatest } from 'redux-saga'; | |
| import { call, put } from 'redux-saga/effects'; | |
| /** | |
| * STATIC ENVIRONMENT | |
| */ | |
| export const config = { |
In this workshop, Patrick will introduce you to the ReasonML platform to build highly type-safe ReactJS applications with the BuckleScript JavaScript compiler.
The goal of this workshop is to build a little webapplication, with following rough outline:
| /* | |
| Let's Assume we want to have a Functor which creates a new Module from | |
| a specific Component Model | |
| The Functor recieves another Module named `Component`, which needs to satisfy certain constraints: | |
| - Component requires an abstract type t (no matter what concrete type) | |
| - It also needs to implement a `render` function which gets said type t and returns a `string` | |
| Also, the newly created module will then contain a function `doSomething`, which will handle any | |
| instance of `Component.t`. So our `Component` also will need a function to create an instance for that, |
| /* Needed, so vim + prettier is working correctly, otherwise prettier is yielding a weird parsing error message */ | |
| module.exports = { | |
| trailingComma: 'es5', | |
| tabWidth: 2, | |
| semi: false, | |
| singleQuote: true, | |
| parser: 'babylon', | |
| overrides: [ | |
| { |