Opened 14 years ago

Last modified 4 years ago

#101 new task

Class Aliases

Reported by: Owned by: none
Priority: normal Milestone:
Version: Keywords: class alias, class aliases
Cc: Meta Owner:
State: discussion Section: N/A or multiple
Related Tickets:



class alias Num a = (Additive a, AdditiveNegation a,
                     Multiplicative a, FromInteger a)  where
    one = fromInteger 1
    zero = fromInteger 0
    negate x = zero - x

Change History (3)

comment:1 Changed 13 years ago by ijones

component: HaskellPrimeProposal
Owner: changed from ijones to none

comment:2 Changed 4 years ago by Herbert Valerio Riedel


moving non-milestoned many year old legacy tickets out of the way

comment:3 Changed 4 years ago by Herbert Valerio Riedel

Priority: minornormal

Set default priority (as this confuses Trac otherwise)

Note: See TracTickets for help on using tickets.