Skip to content

UnicodeSyntax #418

Open
Open
@id-ekaagr

Description

@id-ekaagr
{-# language UnicodeSyntax #-}

module Main where

import Prelude qualified as A

data Term a where
 Lit :: A.Int -> Term A.Int
 Succ :: Term A.Int -> Term A.Int
 IsZero :: Term A.Int -> Term A.Bool
 If :: Term A.Bool -> Term a -> Term a -> Term a
 Pair :: Term a -> Term b -> Term (a, b)

Here no instance of -> gets converted to .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions