[GHC] #9950: Documentation for InterruptibleFFI contains broken example

GHC ghc-devs at haskell.org
Fri Jan 2 14:41:04 UTC 2015


#9950: Documentation for InterruptibleFFI contains broken example
-------------------------------------+-------------------------------------
              Reporter:  hpd         |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:              |           Version:  7.8.4
  Documentation                      |  Operating System:  Unknown/Multiple
              Keywords:              |   Type of failure:  None/Unknown
          Architecture:              |        Blocked By:
  Unknown/Multiple                   |   Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 In Section "8.1.4. Interruptible foreign calls" the example

 {{{#!hs
 foreign import ccall interruptible
    "sleep" :: CUint -> IO CUint
 }}}

 misses the haskell function name.

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


More information about the ghc-tickets mailing list