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 Limiter exposing | |
( Limiter, Msg | |
, debounce, throttle | |
, event, push | |
, update | |
) | |
{-| A Limiter is a handy way of slowing down the number of messages or events | |
we get from a particular source. We have two main methods of rate-limiting this | |
data: |
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 Limiter exposing | |
( Limiter, Msg | |
, debounce, throttle | |
, event, push | |
, update | |
) | |
{- Imports ------------------------------------------------------------------ -} | |
import Process | |
import Task |
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
import 'colors' | |
import { Elm } from './Main.elm' | |
import * as REPL from 'repl' | |
// I don't know if this actually does anything. I set this when I was fucking around | |
// trying to support `shift+Enter` but that didn't work so here we are.... | |
process.stdin.setRawMode(true) | |
process.stdin.setEncoding('utf8') | |
const res = s => console.log(' : ' + s.grey) |
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 Lisp exposing | |
( Expression | |
, Error | |
, run | |
) | |
{- Imports ------------------------------------------------------------------ -} | |
import Dict exposing (Dict) | |
import Result.Extra | |
import Parser exposing (Parser, (|=), (|.)) |
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 AdventOfCode.Day01 exposing | |
( part1 | |
, part2 | |
) | |
-- Imports --------------------------------------------------------------------- | |
import Utils | |
-- Functions ------------------------------------------------------------------- | |
-- |
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
/* global AudioContext */ | |
import Program from 'program-instrument' | |
import * as Node from 'audio-node' | |
import * as Prop from 'audio-property' | |
import * as Note from 'music-note' | |
import * as Time from 'music-time' | |
import * as Html from 'html-element' |
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 Generators.World exposing ( generateWorld ) | |
import List.Extra | |
import Utils.Interpolate exposing ( interpolateFloatList ) | |
import Utils.Noise as Noise | |
import Random | |
import Types exposing (..) | |
------------------------------------------------- | |
-- Main functions |