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
toFraction : Float -> String | |
toFraction f = | |
let | |
below = | |
floor f | |
above = | |
ceiling f |
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 ParserUtils exposing (..) | |
import Console | |
import List.Extra | |
import Parser | |
errorsToString : String -> List Parser.DeadEnd -> String | |
errorsToString source errors = | |
errors |
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 Elm.Declare.Module exposing (Annotation, Function, Internal, Module, ModuleName, Value, abstractFn, alias, customType, exposeConstructor, exposed, fn, fn2, include, module_, toFile, unexposed, value) | |
import Elm | |
import Elm.Annotation as Annotation | |
import Gen.Debug | |
type alias ModuleName = | |
List String |
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 exposing (main) | |
import Browser | |
import Html exposing (Html) | |
import Html.Attributes as Html | |
import Html.Events as Html | |
import List.Extra as List | |
type alias Model = |
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 Modulus exposing (Divisor, R(..), R_1(..), R_2(..), R_3(..), R_4(..), R_5(..), R_6(..), R_7(..), R_8(..), R_9(..), d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, modBySafe) | |
type R f p | |
= R0 f | |
| R1 f | |
| R2 f | |
| R3 f | |
| R4 f | |
| R5 f |
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 Codec exposing | |
( Codec | |
, adt | |
, alternative | |
, alternative0 | |
, alternative1 | |
, alternative2 | |
, always | |
, array | |
, bimap |