diff options
| author | Ben Gamari <bgamari.foss@gmail.com> | 2015-07-20 12:39:54 -0400 |
|---|---|---|
| committer | Ben Gamari <bgamari.foss@gmail.com> | 2015-07-20 12:40:33 -0400 |
| commit | 96de8098c58a04dd028d6fc005dafda29c7a13ba (patch) | |
| tree | 0a65669df12b2054823e2b054ee7406e96f0a430 /compiler | |
| parent | 4cd008b6c1751c5533ab7eac32d17c9749e4758e (diff) | |
| download | haskell-96de8098c58a04dd028d6fc005dafda29c7a13ba.tar.gz | |
Fix primops documentation syntax
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/prelude/primops.txt.pp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp index d8ae6d62dd..6f870c6645 100644 --- a/compiler/prelude/primops.txt.pp +++ b/compiler/prelude/primops.txt.pp @@ -2447,27 +2447,27 @@ section "Bytecode operations" ------------------------------------------------------------------------ primtype BCO# - {Primitive bytecode type.} + { Primitive bytecode type. } primop AddrToAnyOp "addrToAny#" GenPrimOp Addr# -> (# a #) - {Convert an {\tt Addr\#} to a followable Any type.} + { Convert an {\tt Addr\#} to a followable Any type. } with code_size = 0 primop MkApUpd0_Op "mkApUpd0#" GenPrimOp BCO# -> (# a #) - {Wrap a BCO in a {\tt AP_UPD} thunk which will be updated with the vaule of - the BCO when evaluated.} + { Wrap a BCO in a {\tt AP_UPD} thunk which will be updated with the vaule of + the BCO when evaluated. } with out_of_line = True primop NewBCOOp "newBCO#" GenPrimOp ByteArray# -> ByteArray# -> Array# a -> Int# -> ByteArray# -> State# s -> (# State# s, BCO# #) - {{\tt newBCO\#} instrs lits ptrs arity bitmap} creates a new bytecode object. The - resulting object encodes a function of the given arity with the instructions - encoded in {\tt instrs}, and a static reference table usage bitmap given by - {\tt bitmap}.} + { {\tt newBCO\# instrs lits ptrs arity bitmap} creates a new bytecode object. The + resulting object encodes a function of the given arity with the instructions + encoded in {\tt instrs}, and a static reference table usage bitmap given by + {\tt bitmap}. } with has_side_effects = True out_of_line = True |
