Skip to content

Commit

Permalink
Add doc comment and deprecation warning for Float
Browse files Browse the repository at this point in the history
  • Loading branch information
enolan committed Nov 26, 2015
1 parent 140d06a commit adc7148
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/prelude/Builtins.idr
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,11 @@ public %assert_total
really_believe_me : a -> b
really_believe_me x = prim__believe_me _ _ x

-- Deprecated - for backward compatibility
||| Alias for `Double`. Idris does not support 32 bit floats at
||| present.
Float : Type
Float = Double
%deprecate Float

-- Pointers as external primitive; there's no literals for these, so no
-- need for them to be part of the compiler.
Expand Down

0 comments on commit adc7148

Please sign in to comment.