Skip to content

Commit

Permalink
rename and0 to constRgbPair
Browse files Browse the repository at this point in the history
  • Loading branch information
lemastero committed May 6, 2024
1 parent fb8d09e commit 2b7e44c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/adts.agda
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ rgbConstTrue1 rgb = True -- TODO produce function body

-- function with multiple named arguments

and0 : (rgbPairArg : RgbPair) -> (rgbArg : Rgb) -> RgbPair
and0 rgbPairArg rgbArg = rgbPairArg
{-# COMPILE AGDA2SCALA and0 #-}
constRgbPair : (rgbPairArg : RgbPair) -> (rgbArg : Rgb) -> RgbPair
constRgbPair rgbPairArg rgbArg = rgbPairArg
{-# COMPILE AGDA2SCALA constRgbPair #-}
ľ

0 comments on commit 2b7e44c

Please sign in to comment.