@@ -181,10 +181,7 @@ logBase = Native.Basics.logBase
181 200 if 200 <= x
181 200 if 200 <= x
183clamp : number -> number -> number -> number
183clamp : number -> number -> number -> number
184−clamp lo hi n =
184+clamp = Native.Basics.clamp
189{-| An approximation of pi. -}
186{-| An approximation of pi. -}
190pi : Float
187pi : Float
@@ -233,11 +230,11 @@ data Order = LT | EQ | GT
234{-| Given two comparables, returns the smaller one. -}
231{-| Given two comparables, returns the smaller one. -}
235min : comparable -> comparable -> comparable
232min : comparable -> comparable -> comparable
236−min a b = if a < b then a else b
233+min = Native.Basics.min
238{-| Given two comparables, returns the larger one. -}
235{-| Given two comparables, returns the larger one. -}
239max : comparable -> comparable -> comparable
236max : comparable -> comparable -> comparable
240−max a b = if a > b then a else b
237+max = Native.Basics.max
242{-| The and operator. True if both inputs are True.
239{-| The and operator. True if both inputs are True.
243This operator short-circuits if the first argument is False.
240This operator short-circuits if the first argument is False.