Change return type for Int64# and Word64# comparisons?

2013-08-15 Thread Luite Stegeman
Hi all, With the recent change of comparison primops to return Int# instead of Bool, the 64 bit operations were also changed, to return Int64# or Word64#: https://github.com/jstolarek/packages-ghc-prim/commit/07920f03d76dbaec64e3829404d332af22d744fe It seems a bit wasteful to me to return a

Re: Change return type for Int64# and Word64# comparisons?

2013-08-15 Thread Jan Stolarek
Wysłane: czwartek, 15 sierpień 2013 16:36:59 Temat: Change return type for Int64# and Word64# comparisons? Hi all, With the recent change of comparison primops to return Int# instead of Bool, the 64 bit operations were also changed, to return Int64# or Word64#: https://github.com

Re: Change return type for Int64# and Word64# comparisons?

2013-08-15 Thread Carter Schonwald
:; Wysłane: czwartek, 15 sierpień 2013 16:36:59 Temat: Change return type for Int64# and Word64# comparisons? Hi all, With the recent change of comparison primops to return Int# instead of Bool, the 64 bit operations were also changed, to return Int64# or Word64#: https://github.com

RE: Change return type for Int64# and Word64# comparisons?

2013-08-15 Thread Simon Peyton-Jones
Yes I agree: native Int#! Simon From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Carter Schonwald Sent: 15 August 2013 17:43 To: Jan Stolarek Cc: ghc-devs Subject: Re: Change return type for Int64# and Word64# comparisons? Please use native size. Eg Int# and/or Word# Booleans

Re: Change return type for Int64# and Word64# comparisons?

2013-08-15 Thread Jan Stolarek
:; Do: ghc-devs ghc-devs@haskell.orgjavascript:; Wysłane: czwartek, 15 sierpień 2013 16:36:59 Temat: Change return type for Int64# and Word64# comparisons? Hi all, With the recent change of comparison primops to return Int# instead of Bool, the 64 bit operations were also changed, to return