Switch to new syntax for opening modules
This commit is contained in:
parent
080eb0875c
commit
250685b08d
8 changed files with 10 additions and 10 deletions
|
@ -31,8 +31,8 @@ Insert, remove, and query operations all take *O(log n)* time.
|
|||
-}
|
||||
|
||||
|
||||
import open Basics
|
||||
import open Maybe
|
||||
import Basics (..)
|
||||
import Maybe (..)
|
||||
import Native.Error
|
||||
import List
|
||||
import String
|
||||
|
|
|
@ -30,7 +30,7 @@ it as a single unit.
|
|||
|
||||
-}
|
||||
|
||||
import open Basics
|
||||
import Basics (..)
|
||||
import List
|
||||
import Either (Either, Left, Right)
|
||||
import Transform2D (Transform2D, identity)
|
||||
|
|
|
@ -37,12 +37,12 @@ If you need more precision, you can create custom positions.
|
|||
midRightAt, topLeftAt, topRightAt, bottomLeftAt, bottomRightAt
|
||||
-}
|
||||
|
||||
import open Basics
|
||||
import Basics (..)
|
||||
import Native.Utils
|
||||
import JavaScript as JS
|
||||
import JavaScript (JSString)
|
||||
import List as List
|
||||
import open Color
|
||||
import Color (..)
|
||||
import Maybe (Maybe, Just, Nothing)
|
||||
|
||||
type Properties = {
|
||||
|
|
|
@ -14,7 +14,7 @@ you have very strict latency requirements.
|
|||
@docs Response
|
||||
-}
|
||||
|
||||
import open Signal
|
||||
import Signal (..)
|
||||
import Native.Http
|
||||
|
||||
{-| The datatype for responses. Success contains only the returned message.
|
||||
|
|
|
@ -17,7 +17,7 @@ module Json where
|
|||
|
||||
-}
|
||||
|
||||
import open Basics
|
||||
import Basics (..)
|
||||
import Dict
|
||||
import Maybe (Maybe)
|
||||
import JavaScript as JS
|
||||
|
|
|
@ -25,7 +25,7 @@ list must have the same type.
|
|||
@docs sort, sortBy, sortWith
|
||||
-}
|
||||
|
||||
import open Basics
|
||||
import Basics (..)
|
||||
import Native.List
|
||||
|
||||
{-| Add an element to the front of a list `(1 :: [2,3] == [1,2,3])` -}
|
||||
|
|
|
@ -16,7 +16,7 @@ module Text where
|
|||
|
||||
-}
|
||||
|
||||
import open Basics
|
||||
import Basics (..)
|
||||
import Color (Color)
|
||||
import Graphics.Element (Element, Three, Pos, ElementPrim, Properties)
|
||||
import Maybe (Maybe)
|
||||
|
|
|
@ -14,7 +14,7 @@ module Time where
|
|||
|
||||
-}
|
||||
|
||||
import open Basics
|
||||
import Basics (..)
|
||||
import Native.Time
|
||||
import Signal (Signal)
|
||||
|
||||
|
|
Loading…
Reference in a new issue