Last active
April 12, 2017 01:34
-
-
Save petitviolet/6c7cab32578d2a90f7c2e2ccf2da691a to your computer and use it in GitHub Desktop.
using lightbend-emoji library in Ammonite-REPL.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Resolvers._ | |
| val res = Resolver.Http( | |
| "Bintray typesafe ivy-releases", | |
| "http://repo.typesafe.com/typesafe/releases/", | |
| IvyPattern, | |
| false) | |
| interp.resolvers() = interp.resolvers() :+ res | |
| import $ivy.`com.lightbend::emoji:1.1.1` | |
| import com.lightbend.emoji._ | |
| import com.lightbend.emoji.Emoji.Implicits._ | |
| import com.lightbend.emoji.ShortCodes.Implicits._ | |
| import com.lightbend.emoji.ShortCodes.Defaults._ | |
| @ "smiley".emoji | |
| res14: Emoji = 😃 | |
| @ "sushi".emoji | |
| res15: Emoji = 🍣 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment