lambda-land.com
Λambda Λand - Imparare la programmazione funzionale
http://www.lambda-land.com/posts/2014-11-17-imparare-fp
Imparare la programmazione funzionale. Posted on November 17, 2014. Un amico mi ha chiesto un consiglio su dove iniziare per imparare la programmazione funzionale, ri-pubblico qua la mia risposta leggermente adattata.). Prima di tutto una breve parentesi riguardo la programmazione funzionale (FP) in generale. Non c’è una definizione universalmente accettata di FP, ma i tratti generali sono abbastanza comuni:. Tipicamente le funzioni sono. Solo ed esclusivamente dal valore dei suoi parametri. Il modello d...
scaladores.com.br
Por onde começar « Scaladores
https://scaladores.com.br/por-onde-comecar
Grupo de Usuários Scala de SP. Ao aprender sobre um novo assunto, seja um método, uma tecnologia ou uma linguagem de programação, é fundamental possuir recursos para leitura e consulta. Por isso nós do Scaladores preparamos uma lista de links e assuntos interessantes para guiar seu aprendizado sobre Scala, bem como o paradigma de programação funcional. Para começar, veja nosso Canal do Youtube do Scaladores. Onde temos várias palestras com ótimo conteúdo! Functional Programming Principles in Scala. Mater...
drhagen.com
Sane Equality « David R Hagen
http://drhagen.com/blog/sane-equality
Equality: every programming language has it, the. Syntax is universal as. And it works almost the same in every language. When the left and right operands are the same type, equality is easy. No one questions that. This post is about what to do when the operands are different types. What should. Circle(1,2,2)= Point(1,2). ColoredPoint(1,2,red)= Point(1,2). When two different types are compared, there are a few options available to the language designer:. Convert them to a common type. Can be used in plac...
scala-lang.org
Community | The Scala Programming Language
http://www.scala-lang.org/community
Popular ways to connect with the Scala community include mailing lists, chat rooms, user groups, and conferences. The community is also the source of many libraries, tools, and other resources around Scala. The Scala mailing lists are covered by the Scala Code of Conduct. This is our most beginner-friendly list:. The main forum for questions and discussions, including beginner questions, about programming in Scala. Any question can and should receive a courteous and insightful answer. For discussing deve...
nicholassterling.wordpress.com
Stray Thoughts
https://nicholassterling.wordpress.com/page/2
Musings on evolution, programming, physics, and whatnot. Newer posts ». An Impromptu Scala/Groovy Competition. November 11, 2012 – 10:40 am. I got a kick out of this post. The author, who was learning Scala, came up with a solution to this problem. Don’t bother to analyze it, but here is his solution (digits — what that post calls bigNum — is a String of 1000 digits):. Product( digits:String ) = { digits.map( java.lang.String.valueOf .toInt ).reduceLeft( (prod,c) = prod*c ) }. ToSeqmap( s = product(s) ).
lachdrache.com
Using Streams in Scala | continuous learning in software engineering
https://lachdrache.com/2012/08/26/using-streams-in-scala
Continuous learning in software engineering. Using Streams in Scala. This entry was posted on August 26, 2012, in scala. Currently there is an interesting discussion. Happening at the Vienna Scala Enthusiasts google group. About using streams in Scala. One short puzzler for you:. Val s = None #: Stream.continually(Some(“A”). Val l = None : Some(“A”) : Some(“A”) : Nil. What does the Scala REPL output for the last expression? D) none of the above. For a discussion please see this message. Looking for a gre...
gibbons.org.uk
August | 2016 | Getting the code to work
http://gibbons.org.uk/2016/08
Getting the code to work. Code and frameworks…. Quick Links to Posts. Terse Scala notes again 2016. Monthly Archives: August 2016. Scala writing and reading data files. August 15, 2016. This post if from 2016, hope its helpful (it’s aimed at me when I’ve forgotten how). Straight to the code again, and please see the previous post for an explanation deeper than I’ve given below – ie zero explanation. Use an object just to create a terse example which is runnable. Ensures the resource is closed. We want to...
gibbons.org.uk
Scala DataInputStream, for comprehension, Try, currying, tailrec | Getting the code to work
http://gibbons.org.uk/scala-datainputstream-for-comprehension-try-currying-tailrec
Getting the code to work. Code and frameworks…. Quick Links to Posts. Terse Scala notes again 2016. Scala DataInputStream, for comprehension, Try, currying, tailrec. August 13, 2016. This post if from 2016, hope its helpful (it’s aimed at me when I’ve forgotten how). Trying to come up with a functional way to read a data file I came accross lots of alternatives, but along the way I. Wrote the code below. Which introduces quite a few concepts. Fresh in my mind. C: tmp exampleindexfile.idx". A has to have ...
SOCIAL ENGAGEMENT