#4902: Create a primop for getting the size of an Array#
------------------------------+---------------------------------------------
Reporter: tibbe | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Runtime System | Version: 7.0.1
Resolution: fixed | Keywords:
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
------------------------------+---------------------------------------------
Changes (by simonmar):
* status: patch => closed
* resolution: => fixed
Comment:
Pushed, thanks!
{{{
Wed Jan 26 05:15:54 GMT 2011 Daniel Peebles <[email protected]>
* Add sizeof(Mutable)Array# primitives
Tue Feb 1 06:30:17 GMT 2011 Daniel Peebles <[email protected]>
* Fix Array sizeof primops to use the correct offset (which happens to
be 0, so it worked before anyway). Makes us more future-proof, at least
}}}
{{{
Sun Feb 6 22:25:43 GMT 2011 Johan Tibell <[email protected]>
* Add test for sizeofArray# and sizeofMutableArray#
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4902#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs