summaryrefslogtreecommitdiff
path: root/src/utils/FunctionUtils.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/FunctionUtils.scala')
-rw-r--r--src/utils/FunctionUtils.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/FunctionUtils.scala b/src/utils/FunctionUtils.scala
index 7456898..21ad8d0 100644
--- a/src/utils/FunctionUtils.scala
+++ b/src/utils/FunctionUtils.scala
@@ -4,7 +4,7 @@ object FunctionUtils {
// Because doing (_ f _).tupled confuses the inferencer...
def tup[A, B, C](f: (A, B) => C): ((A, B)) => C = f.tupled
- def iden[A](x: A) = x
+ def ident[A]: A => A = { x => x }
implicit class Compositor[A, B](f: A => B) {
def :|[C](g: B => C): A => C = f.andThen(g)