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
; | |
; Personal information | |
; | |
(setq user-full-name "Matthias Metzger") | |
; | |
; Online package locations | |
; |
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
/** | |
* `Xml` describes a simple XML document, specific to FOP. | |
* | |
* This type is used as the result for TSX, which allows writing | |
* Xml nodes in TypeScript. Here is an example for valid TypeScript | |
* code, using this library (provided you saved it in a file ending | |
* with .tsx, for example person.tsx): | |
* | |
* ``` | |
* // person.tsx |
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
module Main exposing (main) | |
import Html exposing (Html) | |
import Html.Attributes as A | |
import Html.Events as E | |
import Html.App as App | |
import Platform.Cmd | |
type alias Model = |
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
% Usage: | |
% $ erl | |
% > c(birthday). | |
% > Pid = birthday:start(). | |
% > birthday:greet(Pid, "Waschti"). | |
-module(birthday). | |
-export([start/0, greet/2]). | |
birthday(Greets) -> | |
receive |
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
{- Can be tested at: http://elm-lang.org/try | |
-} | |
import Html exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (onClick) | |
import Signal exposing (Signal, Address) | |
import Random exposing (generate, int, Seed) | |
import String exposing (concat) |