Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,866
    • Issues 4,866
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 458
    • Merge requests 458
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Wiki
  • Type nats
  • operations

operations · Changes

Page history
typo in type instances authored Apr 06, 2011 by guest's avatar guest
Hide whitespace changes
Inline Side-by-side
type-nats/operations.md
View page @ b4f971c7
......@@ -57,13 +57,13 @@ type instance a + a = 2 * a
type instance a + m = m + a -- for a concrete number m
type instance m + n = mn -- for concrete numbers m, n, mn, with m * n = mn
type instance m * n = mn -- for concrete numbers m, n, mn, with m * n = mn
type instance 0 * a = a
type instance 1 * a = a
type instance a * a = a ^ 2
type instance m * a = a * m -- for concrete numbers m
type instance m + n = mn -- for concrete numbers m, n, mn, with m ^ n = mn
type instance m ^ n = mn -- for concrete numbers m, n, mn, with m ^ n = mn
type instance 1 ^ a = 1
type instance a ^ 0 = 1
type instance a ^ 1 = a
......
Clone repository Edit sidebar
  • 9.6
  • Adventures in GHC compile times
  • All things layout
  • AndreasK
  • AndreasPK
  • Back End and Run Time System
  • Backpack refactoring
  • Backpack units
  • Brief Guide for Compiling GHC to iOS
  • Building GHC on Windows with Stack protector support (SSP) (using Make)
  • CAFs
  • CafInfo rework
  • Compiling Case Expressions in ghc
  • Compiling Data.Aeson Error
  • Contributing a Patch
View All Pages