This file contains hidden or 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
'use strict'; | |
require('./index.html'); | |
var Elm = require('./Main.elm'); | |
console.log(Elm); |
This file contains hidden or 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 Exif exposing (Orientation, orientation) | |
import Bytes | |
import Bytes.Decode as Decode exposing (Decoder) | |
type Orientation | |
= Normal | |
| MirrorHorizontal | |
| Rotate180 |
This file contains hidden or 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 where | |
type Extensible a = | |
{ count :: Int | a } | |
data State | |
= A (Extensible ( text :: String )) | |
| B (Extensible ( whatever :: String )) | |
updatePosition :: (forall a. Extensible a -> Extensible a) -> State -> State |
This file contains hidden or 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
companySalaries = | |
List.foldl | |
(\datum -> | |
Dict.update | |
datum.company | |
(Maybe.withDefault [] | |
>> (::) datum.monthSalary | |
>> Just | |
) | |
) |
This file contains hidden or 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
# This dockerfile builds an image for the backend package. | |
# It should be executed with the root of the repo as docker context. | |
# | |
# Before building this image, be sure to have run the following commands in the repo root: | |
# | |
# yarn install | |
# yarn tsc | |
# yarn build:backend | |
# | |
# Once the commands have been run, you can build the image using `yarn build-image` |
OlderNewer