[GHC] #12998: libraries/base/System/Posix/Types.hs: tries to define Floating instance for opaque type

GHC ghc-devs at haskell.org
Sat Dec 17 23:06:48 UTC 2016


#12998: libraries/base/System/Posix/Types.hs: tries to define Floating instance for
opaque type
-------------------------------------+-------------------------------------
        Reporter:  slyfox            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by slyfox):

 changeset:ffc2327070dbb664bdb407a804121eacb2a7c734 added instance as:
 {{{#!hs
 #if defined(HTYPE_TIMER_T)
 -- | @since 4.10.0.0
 FLOATING_TYPE_WITH_CTYPE(CTimer,timer_t,HTYPE_TIMER_T)
 #endif
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12998#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list