diff --git a/fin-lizzie.ipkg b/fin-lizzie.ipkg index a82520c..6c9253d 100644 --- a/fin-lizzie.ipkg +++ b/fin-lizzie.ipkg @@ -9,7 +9,8 @@ license = "Apache-2.0" sourcedir = "src" builddir = ".build" -modules = Data.Fin.Lists +modules = Data.Fin.Interpolation + , Data.Fin.Lists , Data.Fin.Map , Data.Fin.Minus , Data.Fin.Set diff --git a/src/Data/Fin/Interpolation.idr b/src/Data/Fin/Interpolation.idr new file mode 100644 index 0000000..a44e48c --- /dev/null +++ b/src/Data/Fin/Interpolation.idr @@ -0,0 +1,9 @@ +module Data.Fin.Interpolation + +import Data.Fin + +%default total + +export %defaulthint +FromShow : Interpolation (Fin n) +FromShow = I where [I] Interpolation (Fin n) where interpolate = show