Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tikhonj
on Aug 4, 2012
|
parent
|
context
|
favorite
| on:
GHC's new cutting-edge dataflow-based code generat...
Heh, 'semi-whole' seems to be a bit of an oxymoron. Could you explain exactly what that means? Do you just mean that it looks at your whole program but not the libraries you use?
batterseapower
on Aug 4, 2012
|
next
[–]
Basically, it inlines across module boundaries (except where such modules are mutually recursive).
Locke1689
on Aug 5, 2012
|
parent
|
next
[–]
I don't think cyclic imports are allowed in Haskell.
dons
on Aug 5, 2012
|
root
|
parent
|
next
[–]
Sure they are, and full cross-module inlining too
tinco
on Aug 5, 2012
|
root
|
parent
|
next
[–]
Since when? I just merged 3 files together because GHC complained of the cyclic imports. I would love to pull them apart again.
walrus
on Aug 5, 2012
|
root
|
parent
|
next
[–]
http://www.haskell.org/haskellwiki/Mutually_recursive_module...
Locke1689
on Aug 5, 2012
|
root
|
parent
|
prev
|
next
[–]
Right, .hs-boot files. I was being naive and trusting the compiler warnings.
Locke1689
on Aug 4, 2012
|
prev
[–]
As far as I know it looks at out-of-module calls and does some optimization, but can't run the full optimization suite on outside modules.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: