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
-- This has now been released in elm-codegen |
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
-- Now released as elm-codec |