Scala.js 1.18.2 Harness the Scala and JavaScript ecosystems together. Develop robust apps for browsers, Node.js, and serverless. Strong typing guarantees your code is free of silly mistakes; no more mixing up strings or numbers, forgetting what keys an object has, or worrying about typos in your method names. Scala.js takes care of all this tedious book-keeping for you, letting you focus on the ac
ã¿ã¤ãã«ã§å«ãªäºæããã¦ã人ãããã§ãããããScalaãJSã«å¤æããã¦åãã¾ãããã£ããã Scala.js http://www.scala-js.org/ 試ã ãã®ãµã³ãã«ããã¸ã§ã¯ãã git clone ããã®ãè¯ãã§ãã sjrd/scala-js-example-app https://github.com/sjrd/scala-js-example-app ãµã³ãã«ã³ã¼ãã¯ãããªæã package example import scala.scalajs.js import js.Dynamic.{ global => g } object ScalaJSExample { def main(): Unit = { val paragraph = g.document.createElement("p") paragraph.innerHTML = "<strong>
ä»æ¥ã¯ãScalaã®Optionã®ä½¿ãæ¹ã«ã¤ãã¦è§£èª¬ãã¾ãããOptionã¯Scala使ãã«ã¨ã£ã¦ã¯ãªãã¦ã¯ãªããªããã®ã§ãããããè¦ãã¦ãã¾ãã¨ä»ã®è¨èªã§ãOptionãä½ããããªãããããããªã? Optionã£ã¦ãªã«? Optionåã¯ãå¤ãããããªããåãããªãç¶æ ã表ããã®ã§ãããMaybeã¢ãããã¨ãè¨ã£ã¦ãã¾ãã¨ã¢ã¬ã§ããã¾ããããªãããªãã®ãããã§ãã Optionã®å®ç¾© ã¾ãã¯ãOptionã®å®ç¾©ããè¦ã¦ã¿ã¾ããããOptionåã¯ãæ½è±¡ã¯ã©ã¹Option[+A]ã¨ãOption[A]ãç¶æ¿ãã¦å¤ãããå ´åã®Some[+A]åã¨Noneãªãã¸ã§ã¯ããããã¾ãã Option - Scala Standard Library API (Scaladoc) 2.10.0-20120530-022829-8d38079ab4 - scala.Option // Optionã®æ½
140æå â 2ã§è¡¨ãã¨ãããªæã sbt 0.13.1[info] Compiling 1 Scala source[info] Compiling 7[info] Compiling 84[info] Compiling 240[success] Total time: 259 s 2014-01-10 12:56:08 via web sbt 0.13.2-M1[info] Compiling 1 Scala source[success] Total time: 15 sURL URLAwesome!!! 2014-01-10 12:56:52 via web to @xuwei_k 測å®æ¹æ³ã¯ Scalazã®ãç¾ç¶ã®ææ°ã®coreã¢ã¸ã¥ã¼ã«ã使ã£ã¦å®é¨ EphemeralStreamã«headOptionã¨tailOptionã¨ãã2ã¤ã®ã¡ã½ããã追å ããã³ããããä½¿ç¨ htt
This document is intended to outline some basic Scala stylistic guidelines which should be followed with more or less fervency. Wherever possible, this guide attempts to detail why a particular style is encouraged and how it relates to other alternatives. As with all style guides, treat this document as a list of rules to be broken. There are certainly times when alternative styles should be prefe
1. Functional Programming in Scala Reading #2 Sep 19 2013 NaoyukiYamada Software Engineer@AMoAd https://github.com/chokkoyamada 2. ⢠Functional Programming in Scala (by Paul Chiusano and Rúnar Bjarnason) ã®èªæ¸ä¼ http://www.manning.com/bjarnason/ ⢠æ¯é±æ¨ææ¥17:00~18:00@æ¸è°·ãã¼ã¯ã·ã㣠⢠AMoAdã®ç¤¾å åå¼·ä¼ â¢ ä»åã¯ç¬¬2åã第1åã®è³æã¯ãã¡ã https://speakerdeck.com/potix2/fpscala-chapter1 ããã¯ä½ï¼ 3. éçºç°å¢æ§ç¯(1/2) ⢠æ¸ç±ç¨ã®ã¬ãã¸ããªãcloneãã¦ãã http
Usual Scala compilation never seems fast enough. There are two main reasons why: It takes a lot of time to start Scala compiler and to process standard libraries. Scala compiler doesnât support selective recompilation. The first problem is solved by FSC (Fast Scala Compiler). FSC runs a compilation daemon to avoid subsequent compiler instantiations (at the price of increased memory usage). However
ScalaSeamless data access for your Scala application â Write Scala code to query your database. Type SafeAll database entities and queries are statically checked at compile-time. Slick is an advanced, comprehensive database access library for Scala with strongly-typed, highly composable APIs. Slick makes it easy to use your database in a way thatâs natural to it. It allows you to work with relatio
Welcome to JGlobal Limited, the online home of myself, Michael Nash. I am the Director of Capabilities at Lightbend, Inc. This site and my blog and newsletter is all about what I call Reactive Digital Transformations - that is, organizations changing themselves into a digital organization, but using the reactive principles to do it. I have written and co-authored a few books in the software busine
Latest Release - ScalaTest and Scalactic 3.2.19! import collection.mutable.Stack import org.scalatest._ import flatspec._ import matchers._ class ExampleSpec extends AnyFlatSpec with should.Matchers { "A Stack" should "pop values in last-in-first-out order" in { val stack = new Stack[Int] stack.push(1) stack.push(2) stack.pop() should be (2) stack.pop() should be (1) } it should "throw NoSuchEleme
Sébastien Doeraene @sjrdoeraene Scala Days 2013, June 12th LAMP, lamp.epfl.ch Ãcole polytechnique fédérale de Lausanne, Switzerland JavaScript The one and only language of the Web A scripting language, designed for programming in the small How to scale to Rich Internet Applications? JavaScript as a target language Compile a higher-level language to JavaScript GWT, Scala/GWT CoffeeScript, Dart, Typ
ãã³ãã³è¶ ä¼è° 2012ã®è¶ ã¨ã³ã¸ãã¢ãã¼ãã£ã³ã°ã®Scalaã¦ã¼ã¶ã¼ã°ã«ã¼ãã®ã³ãã§ãScalaã§ããã°ã©ã ãä½ãã¾ãããã®ã»ãã·ã§ã³ãè¡ãã¾ããããå³ã®å³ã¯ãã®ã¹ã©ã¤ãã§ç¨ããDSLã®åé¡ã§ãã ããã§ã¯ãDSLãåé¡ãã軸ã¨ãã¦ãç¨éã®è»¸ã¨å®ç¾æ¹æ³ã®è»¸ãç¨ãã¦ãã¾ãã ç¨éã®è»¸ã®é ç®ã¯ä»¥ä¸ã®2ã¤ã§ãã ã¢ãã«ãã¬ã¼ã ã¯ã¼ã¯APIå®ç¾æ¹æ³ã®è»¸ã®é ç®ã¯ä»¥ä¸ã®2ã¤ã§ãã å é¨DSLå¤é¨DSLä¸å£ã«DSLã¨ãã£ã¦ã2Ã2ã§4種é¡ã®DSLã«åé¡ãããã¨ãã§ããããã§ããå象éã«ã¯ãã»ãã·ã§ã³ã§åãä¸ããæè¡ãåé¡ãã¦é ç½®ãã¦ãã¾ãã Scalaã¯ãé¢æ°åè¨èªã®æ©è½ã¨ææ³ä¸ã®å·¥å¤«ã§å é¨DSLã®å®ç¾ã«é©ããè¨èªã¨ãªã£ã¦ãã¾ããã¾ããã¼ãµã¼ã³ã³ããã¼ã¿ãç¨ãããã¨ã§å¤é¨DSLã®å®ç¾ãç°¡åã«è¡ããã¨ãã§ãã¾ãã Scalaã®ååã®ç±æ¥ã§ãããScalable Languageãã¯ãè¨èªããã¡ã¤ã³åãã«
HerokuãJavaã«å¯¾å¿*1ãã¾ãããããã§ãPlay! frameworkã®Tutorialã§ä½ãããã°ã¨ã³ã¸ã³ããYabeããHerokuã§åããã¦ã¿ã¾ããã Herokuã«ã¢ããªãä½æ*2 Herokuã«ã¢ããªãä½æãã¾ããããã®æã«ã--stackããªãã·ã§ã³ã追å ãã¦ãcedarãã¹ã¿ãã¯ãæå®ãã¦ãã ãããã¢ããªã®ååããyabe-nkmrshnãã«å¤æ´ãã¦ãã¾ãããããã¯å¿ é ã§ã¯ããã¾ããã $ heroku create --stack cedar $ heroku apps:rename yabe-nkmrshn次ã«ãã¼ã¿ãã¼ã¹ã追å ãã¨ããããç¡æã®å ±æãã¼ã¿ãã¼ã¹ãæå®ãã¾ããã $ heroku heroku addons:add shared-databaseããã¦ãconf/application.confã§è¨å®ããPostgreSQLã®URLãåå¾ãã¾ãã
Play Framework makes it easy to build web applications with Java & Scala. Play is based on a lightweight, stateless, web-friendly architecture. Built on Pekko (Play 3) and Akka (Play 2), Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications. Developer friendly. Make your changes and simply hit refresh! All you need is a browser and a tex
2.0ã§å¤§å¹ ã«æ¡å¼µãããPlay Framework æ¬é£è¼ã®ç¬¬14åã第15åã§ãPlay Frameworkãï¼â 以ä¸ãPlayï¼ã¨ããJavaã¢ããªã±ã¼ã·ã§ã³éçºãã¬ã¼ã ã¯ã¼ã¯ãç´¹ä»ãã¾ãããPlayã¯ãRuby on Railsã®ããã«ç°¡åãªã³ãã³ãã ãã§MVCã¹ã¿ã¤ã«ã®Webã¢ããªã±ã¼ã·ã§ã³ã®éå½¢ãæ§ç¯ããéçºãã¹ã¿ã¼ãããããã¨ãã§ãããã¬ã¼ã ã¯ã¼ã¯ã§ãã 2012å¹´3æ13æ¥ããã®Playã®æ°ãã¼ã¸ã§ã³ãPlay framework 2.0ãï¼â 以ä¸ãPlay 2.0ï¼ããªãªã¼ã¹ããã¾ããããã®æ°ãã¼ã¸ã§ã³ã§ã¯ãæ ¸ã¨ãªãã¢ã¼ããã¯ãã£ã«å¤§å¹ ãªå¤æ´ãå ãããã¾ããã主ãªãã¤ã³ãã¨ãã¦ã¯æ¬¡ã®ãããªé ç®ãæãããã¦ãã¾ãã Javaããã³Scalaã®ãã¤ãã£ããµãã¼ã å¼·åãªãã«ãã·ã¹ãã ã®æ§ç¯ åå®å ¨æ§ã¸ã®ãã©ã¼ã«ã¹ éåæããã°ã©ãã³ã°ã®ããå¼·åãªãµãã¼ã ãã¼ã¿ã¹ãã¢ã¨ã¢ãã«
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}