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

#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

#9950: Documentation for InterruptibleFFI contains broken example -------------------------------------+------------------------------------- Reporter: hpd | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 7.8.4 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * keywords: => newcomer -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9950#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9950: Documentation for InterruptibleFFI contains broken example -------------------------------------+------------------------------------- Reporter: hpd | Owner: erdeszt Type: bug | Status: new Priority: normal | Milestone: Component: Documentation | Version: 7.8.4 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by erdeszt): * owner: => erdeszt -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9950#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9950: Documentation for InterruptibleFFI contains broken example -------------------------------------+------------------------------------- Reporter: hpd | Owner: erdeszt Type: bug | Status: patch Priority: normal | Milestone: Component: Documentation | Version: 7.8.4 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D902 -------------------------------------+------------------------------------- Changes (by erdeszt): * status: new => patch * differential: => Phab:D902 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9950#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9950: Documentation for InterruptibleFFI contains broken example -------------------------------------+------------------------------------- Reporter: hpd | Owner: erdeszt Type: bug | Status: patch Priority: normal | Milestone: Component: Documentation | Version: 7.8.4 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D902 -------------------------------------+------------------------------------- Comment (by erdeszt): I've added the name sleepBlock that's how it's refered in the codebase (although with slightly different signature, not sure if it matters). I also see that the version says 7.8.4 but I've made my fix on the latest master. Is it my responsibility to add it to the older branches or is it done automatically? (Sorry, first contribution and couldn't find relevant info in wiki) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9950#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9950: Documentation for InterruptibleFFI contains broken example
-------------------------------------+-------------------------------------
Reporter: hpd | Owner: erdeszt
Type: bug | Status: patch
Priority: normal | Milestone:
Component: Documentation | Version: 7.8.4
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions: Phab:D902
-------------------------------------+-------------------------------------
Comment (by Thomas Miedema

#9950: Documentation for InterruptibleFFI contains broken example -------------------------------------+------------------------------------- Reporter: hpd | Owner: erdeszt Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Documentation | Version: 7.8.4 Resolution: fixed | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D902 -------------------------------------+------------------------------------- Changes (by thomie): * status: patch => closed * resolution: => fixed * milestone: => 7.12.1 Comment: In general we only work on master. Only important fixes are backported to the 7.10 (or latest release) branch by the release manager. You can read more about that here: https://ghc.haskell.org/trac/ghc/wiki/WorkingConventions/Releases The meaning of the version field is explained here : https://ghc.haskell.org/trac/ghc/wiki/ReportABug#Whattoputinabugreport Thanks for the patch. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9950#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9950: Documentation for InterruptibleFFI contains broken example -------------------------------------+------------------------------------- Reporter: hpd | Owner: erdeszt Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Documentation | Version: 7.8.4 Resolution: fixed | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D902 -------------------------------------+------------------------------------- Comment (by erdeszt): Thank you for the links, will read through through them! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9950#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9950: Documentation for InterruptibleFFI contains broken example -------------------------------------+------------------------------------- Reporter: hpd | Owner: erdeszt Type: bug | Status: merge Priority: normal | Milestone: 7.10.2 Component: Documentation | Version: 7.8.4 Resolution: fixed | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D902 -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: closed => merge * milestone: 7.12.1 => 7.10.2 Comment: We can totally merge this one to STABLE, though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9950#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9950: Documentation for InterruptibleFFI contains broken example -------------------------------------+------------------------------------- Reporter: hpd | Owner: erdeszt Type: bug | Status: closed Priority: normal | Milestone: 7.10.2 Component: Documentation | Version: 7.8.4 Resolution: fixed | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: Phab:D902 -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: merge => closed Comment: Merged to `ghc-7.10`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9950#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC