Ticket #88 (new enhancement)

Opened 6 years ago

Last modified 2 years ago

Sections in the midst of algebraic datatype definitions

Reported by: SamB Owned by:
Priority: minor Milestone:
Version: Keywords:
Cc: SamB

Description

This would be good for code like this:

data BinOp
    = Add
    | Sub

    | Mul
    | Mulx
    | UMulx

    | Div   -- ^ round to -Infinity
    | Mod   -- ^ mod rounding to -Infinity

    | Quot  -- ^ round to 0
    | Rem   -- ^ rem rounding to 0

    | UDiv  -- ^ round to zero (unsigned)
    | UMod  -- ^ unsigned mod

    -- bitwise
    | And
    | Or
    | Xor
    | Shl
    | Shr    -- ^ shift right logical
    | Shra   -- ^ shift right arithmetic
    | Rotl
    | Rotr
    -- floating
    | FAdd
    | FSub
    | FDiv
    | FMul
    | FPwr
    | FAtan2

...

Change History

Changed 6 years ago by SamB

  • cc SamB added

Changed 5 years ago by waern

  • priority changed from major to minor

Changed 2 years ago by anonymous

  • milestone 2.5.0 deleted

Milestone 2.5.0 deleted

Note: See TracTickets for help on using tickets.