Hacker News Books
This Week
Languages
▼
C
C#
C++
Clojure
CSS
Dart
Elixir
Erlang
Fortran
Go
Haskell
HTML
Java
JavaScript
Julia
Kotlin
Lisp
Lua
Markdown
MATLAB
Objective-C
Perl
PHP
Python
R
Ruby
Rust
Scala
Shell
SQL
Swift
TypeScript
Visual Basic
XHTML
XML
YAML
Zig
Lists
▼
Founder Favorites
All Time Top Books
Interviews
▼
Gabriel Weinberg (DuckDuckGo)
Ray Grieselhuber (DemandSphere)
Newsletter
Blog
▼
Reviews
Changelog
Top Books Of All Time
Top Books By Month
Scala Cookbook
ISBN: None
Buy from O’Reilly
Found in 1 comment on Hacker News
chadrs
· 2020-09-15 ·
Original thread
At the string literal level doesn't do anything, but the standard library adds an extension method to string called `stripMargin`. This has some nice examples
https://www.oreilly.com/library/view/scala-cookbook/97814493...