rightfold

The Kingdom of the Netherlands

rightfold.sexy

Age: 19

please delete me on all se sites

Aug
12
awarded Nice Question
Aug
11
awarded Yearling
Aug
11
awarded Yearling
Jul
30
comment Formatting scala template files in IntelliJ
Don't put JavaScript code in your HTML files, problem solved. :P
Jul
29
revised Escaping pipe in perl
edited tags
Jul
29
comment fmap putStrLn getLine does not perform IO
Add main :: IO () and you will notice the mistake. It is good practice to add explicit type signatures to all top-level equations.
Jul
28
awarded Commentator
Jul
28
comment Contrived homework questions
+1 I couldn’t agree more. The “too localised” close reason did this well in the past. These days I just use “too broad” instead, since there isn’t really a better option.
Jul
28
answered Scala - mkString and getOrElse("")
Jul
28
answered How to pass values to an anonymous function, that is referenced with a map literal?
Jul
28
revised What is the functionality of the <% operator?
clarify
Jul
28
comment What is the functionality of the <% operator?
Note that this includes subtyping relationships, so α <: β → α <% β.
Jul
28
comment How to parse this JSON object/string?
"This file is intended for use only on aws.amazon.com." Are you sure there is no other API that does what you need?
Jul
28
revised convert vector<bool> to int
added 2 characters in body
Jul
27
answered Trait inheritance with <:
Jul
27
comment resp declared and not used in golang
Nice blob of unformatted code. Try again.
Jul
27
comment I don't get what should be the C[_] type in Slick 2.1 Query class
It is the type constructor for the unpacked collection type.
Jul
27
comment c++11 how to use reference in vector?
Ugh std::shared_ptr.
Jul
27
comment Do I really have a car in my garage?
@Keppil The problem is that you don’t want to violate SRP, so you cannot just add a gazillion methods to Vehicle. This is one of the weaknesses of languages with subtype polymorphism but without pattern matching.
Jul
27
comment Do we *really* want this new "add a comment" link?
No matter how much the community doesn’t want it, they won’t change it back anyway.
1 2 3 4 5