Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc fix: Integers are no longer opaque #2546

Merged
merged 2 commits into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions dhall/src/Dhall/Tutorial.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1882,9 +1882,13 @@ import Dhall
-- >
-- > (input):1:1
--
-- In fact, there are no built-in functions for @Integer@s (or @Double@s) other
-- than @Integer/show@ and @Double/show@. As far as the language is concerned
-- they are opaque values that can only be shuffled around but not used in any
-- There are no built-in functions for @Integer@ arithmetic; however, conversion
-- to and from @Natural@s is possible usinng @Integer/clamp@, @Integer/negate@
-- and @Natural/toInteger@.
--
-- For @Double@s the situation is even more extreme: there are no built-in
-- functions other than @Double/show@. As far as the language is concerned they
-- are opaque values that can only be shuffled around but not used in any
-- meaningful way until they have been loaded into Haskell.
--
-- Second, the equality @(==)@ and inequality @(!=)@ operators only work on
Expand Down
Loading