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

Integer --> Int #1

Open
doyougnu opened this issue Sep 15, 2020 · 0 comments
Open

Integer --> Int #1

doyougnu opened this issue Sep 15, 2020 · 0 comments
Assignees
Labels
memory relating to memory performance

Comments

@doyougnu
Copy link
Owner

Getting arithmetics up and running I had to nuke the unpack pragma in Types:

data NPrim = I !Integer | D {-# UNPACK #-} !Double
  deriving (Eq,Generic,Ord,Show)

because you cannot unpack arbitrary sized integers. Fix this by picking Int64 or something similar when we begin to optimize.

@doyougnu doyougnu added the memory relating to memory performance label Sep 15, 2020
@doyougnu doyougnu self-assigned this Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
memory relating to memory performance
Projects
None yet
Development

No branches or pull requests

1 participant