1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00

Note a potential direction for numeric literals.

This commit is contained in:
Rob Rix 2017-05-01 17:06:38 -04:00
parent ea2ccec784
commit 366a77ade4

View File

@ -35,6 +35,7 @@ instance Show1 Data.Syntax.Literal.Integer where liftShowsPrec = genericLiftShow
-- TODO: Should IntegerLiteral hold an Integer instead of a ByteString?
-- TODO: Do we care about differentiating between hex/octal/decimal/binary integer literals?
-- TODO: Float/Double literals.
-- TODO: Consider a Numeric datatype with FloatingPoint/Integral/etc constructors.
data Range a = Range { rangeStart :: a, rangeEnd :: a }