[GHC] #13783: 更合理的instance Monad []
GHC
ghc-devs at haskell.org
Sat Jun 3 11:18:01 UTC 2017
#13783: 更合理的instance Monad []
-------------------------------------+-------------------------------------
Reporter: zaoqi | Owner: (none)
Type: feature | Status: new
request |
Priority: normal | Milestone:
Component: Core | Version: 8.0.1
Libraries |
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Incorrect result
Unknown/Multiple | at runtime
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
使
{{{#!hs
join $ map (\y->map (\x->(x,y)) [1..]) [1..]
}}}
的结果更合理:
https://github.com/zaoqi/zaoqilc/blob/master/featuring/MonadList.hs
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13783>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list