Haskell.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

Proposal: Add Peano numbers to base

M Farkas-Dyck

11 Jan 2016 11 Jan '16
12:29 p.m.

I have seen these redefined many times now. Examples: https://hackage.haskell.org/package/numericpeano-0.2.0.0/docs/Numeric-Peano.... https://hackage.haskell.org/package/numeric-prelude-0.4.2/docs/Number-Peano.... https://hackage.haskell.org/package/type-fun-0.0.1/docs/TypeFun-Data-Peano.h... https://hackage.haskell.org/package/number-0.1.1.0/docs/Data-Number-Peano.ht... https://hackage.haskell.org/package/Peano-0.0.4/docs/Data-Peano.html#t:Peano I often see them used as DataKinds. Too, operations on them can be lazy, which is sometimes useful. I filed a ticket: https://ghc.haskell.org/trac/ghc/ticket/11402 Discussion period: 2 weeks

0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.9.