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 Color exposing (..) | |
import Graphics.Collage exposing (..) | |
import Graphics.Element exposing (..) | |
import Mouse | |
import Signal | |
import Window | |
import Time | |
import List | |
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 Graphics.Collage exposing (..) | |
import Graphics.Element exposing (..) | |
import Color exposing (..) | |
import Mouse | |
import Signal | |
import Window | |
import Time | |
import List | |
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 Graphics.Input.Field as Field exposing | |
(Content, noContent, field, defaultStyle, Direction) | |
import Graphics.Element as Elem exposing (..) | |
import Graphics.Collage exposing (..) | |
import Maybe exposing (withDefault) | |
import Color exposing (..) | |
import Text exposing (..) | |
import Dict exposing (Dict) | |
import Window | |
import 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
import Graphics.Input.Field as Field exposing | |
(Content, noContent, field, defaultStyle, Direction) | |
import Graphics.Collage exposing (..) | |
import Maybe exposing (withDefault) | |
import Dict exposing (Dict) | |
import Graphics.Element as Elem exposing (..) | |
import Signal | |
import Color exposing (..) | |
import String | |
import Window |
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 Graphics.Element exposing (..) | |
import String | |
import Result | |
import Maybe exposing (withDefault) | |
main = show (toBase 5 147) | |
toBase: Int -> Int -> Int | |
toBase base number = | |
toBase' base "" number |
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 Html exposing (Html, Attribute, text, toElement, fromElement, div, input, textarea) | |
import Html.Attributes exposing (..) | |
import Html.Events exposing (on, targetValue, onClick, onDoubleClick) | |
import Signal exposing (Address) | |
import StartApp.Simple as StartApp | |
import String | |
import Graphics.Element exposing (spacer, color, show) | |
import Color exposing (..) | |
import Dict exposing (Dict) | |
import Maybe exposing (withDefault) |
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 Html exposing ( text, div, span ) | |
import Html.Attributes exposing ( .. ) | |
import Maybe exposing ( withDefault ) | |
import String | |
import Array exposing ( Array ) | |
main = | |
partitionBy String.length ["aa", "a", "b", "b", "cc", "cc", "a", "ab", "bb"] | |
|> toString | |
|> text |
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 Graphics.Element exposing (show) | |
import Touch | |
import Signal | |
main = Signal.map show Touch.touches |
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 Graphics.Element exposing (show, Element) | |
import Touch exposing (Touch) | |
import Signal | |
import Set | |
type alias Swipe = Touch | |
touches': Signal (List Touch, List Touch) |
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 Graphics.Element exposing (show, Element) | |
import Touch exposing (Touch) | |
import Signal | |
import Set | |
import Maybe exposing (andThen, withDefault) | |
import Graphics.Collage exposing (..) | |
import Color exposing (..) | |
import Window | |
--import Html exposing (fromElement, Html, div, Attribute, node) | |
--import Html.Attributes exposing (name, content) |