|
Re: [GHC] #666: Collection hierarchy proposal: msg#00181lang.haskell.glasgow.bugs
#666: Collection hierarchy proposal -------------------------------+-------------------------------------------- Reporter: jpbernardy | Owner: jpbernardy Type: feature request | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 6.4.1 Severity: normal | Resolution: Keywords: Data collections | Os: Unknown Difficulty: Unknown | Architecture: Unknown -------------------------------+-------------------------------------------- Comment (by guest): What about removing all reference to lists (plain type []) from the interface. E.g. {{{ fromList :: [i] -> c }}} should be something like {{{ fromCollection :: Collection d j i -> c }}} Since we plan to have {{{ instance Collection [a] a a }}} this should be possible. Same thing for toList. In fact, we don't need toList, since it *is* fromCollection, right? -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/666> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #665: re-work of insert API, GHC |
|---|---|
| Next by Date: | Re: [GHC] #674: Bad error message: varying arguments, GHC |
| Previous by Thread: | Re: [GHC] #666: Collection hierarchy proposal, GHC |
| Next by Thread: | [GHC] #667: Efficient Map <-> Set conversions, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |