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 a102758 commit d186706
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/adts.agda
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ 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 d186706

Please sign in to comment.