Skip to content

Instantly share code, notes, and snippets.

View anaPerezGhiglia's full-sized avatar

Ana Perez Ghiglia anaPerezGhiglia

View GitHub Profile

Keybase proof

I hereby claim:

  • I am anaperezghiglia on github.
  • I am anaperezghiglia (https://keybase.io/anaperezghiglia) on keybase.
  • I have a public key ASA39xR91WoxGk7JZB-_1AN0JpG7O0_JkaYfQj2wig9pCgo

To claim this, I am signing this object:

@anaPerezGhiglia
anaPerezGhiglia / CurryImplicit.scala
Last active August 28, 2019 14:30
Playing with defining function vals from methods with implicit parameter list
package com.despegar.p13n.prometeo
import scala.concurrent.duration._
object CurryImplicit extends App {
import Cook._
val cookingForHalfHour: Meal => Meal = cookWithDefault(30 minutes) //this works because we have a default oven!