KO
|
EN
gitlite — search
Search
#javascript
#python
#hacktoberfest
#react
#ai
#typescript
#llm
#go
#golang
#android
#machine-learning
#rust
#deep-learning
#linux
Q.scala
★ 12
Open GitHub ↗
Convert any value to code
Download README (.md)
Explore Similar Repositories
EXsimple
:
open netdisk,and also a light Web application framework
university-ranking
:
Data analysis of https://www.kaggle.com/mylesoneill/world-university-rankings
ArduLCD
:
Arduino based interface for HD44780 LCD to lcdproc and equivalent.
ExpandedCollectionBundle
:
Symfony bundle for render entity collections as a selectable expanded list.
DeserializationExercises
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
Q.scala
?
Download (.md)
# Q.scala <a href="http://thoughtworks.com/"><img align="right" src="https://www.thoughtworks.com/imgs/tw-logo.png" title="ThoughtWorks" height="15"/></a> [](https://travis-ci.org/ThoughtWorksInc/Q.scala) [](https://index.scala-lang.org/thoughtworksinc/q.scala/q) [](https://javadoc.io/page/com.thoughtworks.q/q_2.11/latest/com/thoughtworks/Q$.html) **Q.scala** is a library to convert any value to parsable code. ## Usage ``` sbt libraryDependencies += "com.thoughtworks.q" %% "q" % "latest.release" ``` ``` scala import com.thoughtworks.Q._ import scala.reflect.runtime.universe._ val data: Seq[Either[Double, String]] = Seq(Left(math.random), Right("string data")) // Output: _root_.scala.Seq(_root_.scala.util.Left(0.6437966035784641), _root_.scala.util.Right("string data")) println(q"$data") ```