io.github.windymelt.qw
package io.github.windymelt.qw
Members list
Type members
Classlikes
object Syntax
Enables qw syntax for string.
Enables qw syntax for string.
import io.github.windymelt.qw.Syntax.*
qw"foo bar buzz" // => "foo" :: "bar" :: "buzz" :: Nil
You can use newline for separator too:
qw"""
new
line
separated
""" // => "new" :: "line" :: "separated" :: Nil
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Syntax.type
In this article