Scalaé¢è¥¿ãµããã2018 ãå®è·µGraphQL on Scalaãã®çºè¡¨è³æ - https://github.com/petitviolet/graphql_on_scala
ãã¹ãããããã¨ããã¨ãç¾å¨æå»ãå¤æ´ããããªããã¨ããããããç¾å¨ã®ããã¸ã§ã¯ãã§ã¯joda-timeã使ã£ã¦ããã®ã§ãjoda-timeã®DateTime.nowãè¿ãæå»ãå¤æ´ããããã¨ãããã¨ã§ããããç°¡åã«ã§ããjoda-time-fakeã¨ããã©ã¤ãã©ãªãä½ãã¾ããã https://github.com/shibayu36/joda-time-fake-scala https://mvnrepository.com/artifact/com.github.shibayu36/joda-time-fake ã¤ã³ã¹ãã¼ã« sbtã®å ´åã¯libraryDependenciesã«å ¥ããã libraryDependencies ++= Seq( "com.github.shibayu36" %% "joda-time-fake" % "0.0.2" ) 使ãæ¹ README.mdã«æ¸
scala.connpass.com Scalaç¦å²¡ã§ç»å£æ©ä¼ãããã ããã話ãã¦ãã¾ããã ã¼ããã¡ãéç¨ã»éçºãã¦ããMackerel ã¨ãããããã¯ãã§ã2度å®æ½ããPlay Frameworkã®ãã¼ã¸ã§ã³ã¢ããã§å¾ãç¥è¦ãå ã«ãã¢ããªã±ã¼ã·ã§ã³ãã¬ã¼ã ã¯ã¼ã¯ã®æ´æ°ãã©ãããã°å®å ¨ã«ãããã ããããã¨ãã観ç¹ã§ã®ã話ã§ããã ããã¦æè¡çãªå´é¢ã«ã¯ãã¾ããã©ã¼ã«ã¹ããã«ãããã¸ã§ã¯ãããã¸ã¡ã³ãã®è¦åº§ããã話ãããã¨ã§ãScalaãPlayã«ããããåèã«ãªããããªçºè¡¨ã«ãªãã°ãããªãã¨ãããã¨ãæèãã¾ãããä»ã®è¨èªã®ä¸çããã¾ã詳ããç¥ããªãã®ã§ãæå³éãã®çºè¡¨ã«ãªã£ããã©ããã¯ãããã¾ãããâ¦ã Twitterãè¦ãã¨ããããããã好è©ãªããã§ããã£ãã§ãã ãµã¼ãã¹ã«æ©è½è¿½å ããªããéç¨ãã¤ã¤ããã¬ã¼ã ã¯ã¼ã¯ãã©ã¤ãã©ãªã®ãã¼ã¸ã§ã³ã¢ããã«ã¤ãã¦è¡ãã®ã¾ãã§å¤§å¤ãªã®ã§ããã®ã»
Scalaé¢è¥¿ Summit2016ã®ç¿æ¥ã京é½ã®ã¯ã¦ãªãããªãã£ã¹ã«ä¼ºããã¦ããã ãå¼ç¤¾ã¨ã¯ã¦ãªããã®ååScalaåå¼·ä¼ãéå¬ãã¾ããã ä»åã¯ã¯ãã¼ãºããªåå¼·ä¼ã¨ãããã¨ã§æ®æ®µãã¾ãå¤ã«ã¯åºããªããããªãªã¢ã«ãªæ©ã¿ãªã©ããç¸è«ããã¦ããã ããã®ã§ãããå½æ¥ã®å 容ãå¯è½ãªç¯å²ã§ã¾ã¨ãã¦ã¿ããã¨æãã¾ãã Scalaã®å©ç¨ç¶æ³ã«ã¤ã㦠ã¯ã¦ãªããã§Scalaãæ¡ç¨ãã¦ããã®ã¯3ããã¸ã§ã¯ãã社å ã§Scalaãæ¸ããã¨ã³ã¸ãã¢ã¯10人ã»ã©ããã¬ã¼ã ã¯ã¼ã¯ã¯Play + Slickãããã¯Scalatra + Slickã¨ã®ãã¨ã§ãããæè¿ã®ããã¸ã§ã¯ãã§ã¯Slickã¯DSLã使ããçSQLãæ¸ãã¦ããããã§ããWebãã¬ã¼ã ã¯ã¼ã¯ã¯Finchãæ¤è¨ããããããªã®ã§ãããçç£æ§ã«åé¡ãããã¨ããå¤æã§æ¡ç¨ã«ã¯è³ããªãã£ãã¨ã®ãã¨ã§ããã å¼ç¤¾ã§Scalaã使ã£ã¦ããã®ã¯2ããã¸ã§ã¯ãã§ããã
akka-httpãã¼ã¹ã§S3ãå®è£ ãããã¨ãå®å ¨ã«æ念ããç§ã¯ä», finchã®åå¼·ããã¦ãã. ãã®è¨äºã§ã¯, finchã¨ããã®ã¯ä¸ä½ä½ãªã®ãï¼ã¨ãããã¨ãããããã£ããã¨èª¬æãã. finchã¯finagle-httpã®ä¸ã«ä½ããã, RESTãé¢æ°çã«æ¸ããã¨ãå©ãããã¬ã¼ã ã¯ã¼ã¯ã§ãã. finagle-httpã¨ã¯ï¼ ã¾ãfinagle(çºé³: ãµããã¼ãã¼)ã¯, protocol-agnosticãªéåæRPCãã¬ã¼ã ã¯ã¼ã¯ã§ãã. protocol-agnosticã¨ããã®ã¯æ¥æ¬èªã§ããã¨, ãéä¿¡ãããã³ã«ãã©ããããã®ã§ãããã¯æ½è±¡åããã¦ãããã¨ãããã¨ã§ãã. agnosticã¨ããã®ã¯, ã³ã³ãã¥ã¼ã¿ã·ã¹ãã ã®ä¸çã§ã¯ãã使ãããè¨èã§ãã. ãã£ã¨ç°¡åãªè¨èã§ããã¨, unwareã§ãã. å¾ã£ã¦finagle-httpã¨ã¯, protocol=HTTPã¨ãªã£
Scalaã®Webãã¬ã¼ã ã¯ã¼ã¯äºæ 2015å¹´ç - ããããçæ»ããã° Scalaçéã®Webãã¬ã¼ã ã¯ã¼ã¯ãJsonã©ã¤ãã©ãªã¯è¯ããæªããæ··æ²ã極ãã¦ãã(?)ããã§ãããããã«ãã¦ã竹添ãããç´¹ä»ãã¦ããã¤ã ãã§ã¯å人çã«ä¸å ¬å¹³æã¨ããããæ··æ²ã¨ãã¦ããæãå ¨ç¶ä¼ãããªãã¨æã£ãã®ã§ãå ¨é¨ã«è©³ãã訳ã§ã¯ãã§ãããèªåãªãã«ç¾ç¶ãæ¸ããããªã£ãã®ã§ç´¹ä»ãããã¨æãã¾ãã ã©ããå ¨é¨ãæ¬å½ã«ç¥ãå°½ããã¦ãã人ãªãã§ããªãã®ã§ãããã¯ããã§ä¸å ¬å¹³ã¨ãããåã£ãè¦æ¹ã«ããªã£ã¦ãããããã¾ãããããããªãã¨è¨ã£ã¦ããããããè¨äºããã¤ã¾ã§çµã£ã¦ãæ¸ããªãã®ã§ãæãåã£ã¦æ¸ããã¨ã«ãã¾ããã ãã¤ãã®æ³¨ææ¸ãã§ãããããã¾ã§ããæ¸ãã¦ã2015å¹´10æç¾å¨ã®ç¶æ³ã§ããã1å¹´ç¨åº¦çµéããã ãã§ç¶æ³ã¯åçã«å¤åããå¯è½æ§ããã®ã§ããäºæ¿ãã ããã ããããããã¾ãããããã®æ¸ããããªãã®ã¯ããã
ããã«ã¡ã¯ãã¢ããªã±ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ã® id:pokutuna ã§ãã ãã¯ã¦ãªæç§æ¸ãã¯ãã¯ã¦ãªã§ Web éçºã«æºããã¨ã³ã¸ãã¢ã®ããã«ä½ããã1é±é㧠Web ã¢ããªã±ã¼ã·ã§ã³éçºã®åºæ¬ã身ã«ã¤ããããã®æç§æ¸ã§ããã¯ã¦ãªãµãã¼ã¤ã³ã¿ã¼ã³ã·ããããå ¥ç¤¾æç ä¿®ã«å©ç¨ããã¦ãã¾ãã2012å¹´ãã GitHub ä¸ã§å ¬éãã¦ãããã©ãªãã§ãèªããã¨ãã§ãã¾ãã ã¯ã¦ãªã§ã¯ç¶ç¶çã«æç§æ¸ãæ´æ°ãã¦ãã¾ãããç¹ã«æ¯å¹´ã®ã¤ã³ã¿ã¼ã³ã®è¬ç¾©å 容ããã£ã¼ãããã¯ãã¦ãã¾ããä»åã®æ´æ°ã§ã¯ãæ°ããã¯ãã¾ã£ãScalaã¨Swiftã®ã³ã¼ã¹ã§å©ç¨ããæç§æ¸ã追å ãã¾ãããã¢ããªã±ã¼ã·ã§ã³ã®å¦ç¿ãç ä¿®é¡æã¨ãã¦ã©ãããå©ç¨ãã ããã Scala ã®æç§æ¸ã追å ãã¾ãã ä»å¹´ã®ã¤ã³ã¿ã¼ã³ã§ã¯ Mackerel ã®éçºã«åãçµã ãã¯ã©ã¦ããµã¼ã管çã·ã¹ãã ã³ã¼ã¹ãã³ã¼ã¹ãéå¬ããã¾ãããå»å¹´ã¾ã§ã®ã¤ã³ã¿ã¼ã³ã§
We got liftoff! The Dotty compiler for Scala bootstraps. We got liftoff! The Dotty project is a platform to develop new technology for Scala tooling and to try out concepts of future Scala language versions. Its compiler is a new design intended to reflect the lessons we learned from work with the Scala compiler. A clean redesign today will let us iterate faster with new ideas in the future. Today
7. ⢠ã¹ã¤ã¹é£é¦å·¥ç§å¤§å¦ (EPFL)ã®Martin Odersky(å°ç°å¥½)ææã«ãã£ã¦è¨è¨ ⢠JVMã§åä½(å¤ã®æ代㯠.net Frameworkã§ãå ãã) ⢠ãªãã¸ã§ã¯ãæåã¨é¢æ°åè¨èªã®ãã©ãã¤ã
class: center, middle # Scalaã«ããã<br>é¢æ°å並å並è¡<br>ããã°ã©ãã³ã° [![ã¯ãªã¨ã¤ãã£ãã»ã³ã¢ã³ãºã»ã©ã¤ã»ã³ã¹](http://i.creativecommons.org/l/by/2.1/jp/88x31.png)](http://creativecommons.org/licenses/by/2.1/jp/) --- class: middle <img src="image/xuwei.gif" alt="ã¢ã¤ã³ã³" width="100" height="100" /> - twitter [@xuwei_k](https://twitter.com/xuwei_k) - github [@xuwei-k](https://github.com/xuwei-k) - blog <http://xuwei-k.hatenablog.com>
è¿½è¨ ééã£ã¦ããªããã¨ã示ãã¦ããã ãã¾ãã â ãScalaã«åå¨æ¼ç®åãæ±ããã®ã¯ééã£ã¦ããã ããããã®è§£çä¾ - scalaã¨ãã»ã»ã» ããã«Lensã§ããâ ãScalaã«åå¨æ¼ç®åãæ±ããã®ã¯ééã£ã¦ããã ãããããLens/Prismã§è§£ãã¦ã¿ã - ç¬å¦å¤§å¦æ å ±å¦é¨ ï¼ééã£ã¦ããªããã©ãããããæ½è±¡åãé©åã¨ã¯è¨ã£ã¦ããªãï¼ ç²¾é²ããã°ã»ã»(´・_ï½¥`) 追è¨çµããã ããªãã¯ããã«ãã¾ãã CoffeeScriptã«ã¯åå¨æ¼ç®å?. ãããã¾ãã ããã¯ãJSONã®ãããªãã¹ãããæ§é ã§ããã¤å¤ãéä¸ã§nullã«ãªã£ã¦ããããããªããã©ä¸çªå å´ã®å¤ã欲ããï¼ ã¨ãã«ä¾¿å©ãªä»çµã¿ã§ãã ã³ã¼ãã¨ãã¦ã¯ obj = { e : { d : { c: { b: { a: { value: 1 } } } } } } # åå¨æ¼ç®åã使ã£ã¦valueã«ã¢ã¯ã»ã¹ï¼ obj?.e
Typesafeã®Playãã¼ã ãWebãã¬ã¼ã ã¯ã¼ã¯âDamiyaâã®ãã¼ã¸ã§ã³2.4ããªãªã¼ã¹ãããååã®ã¡ã¸ã£ã¼ãªãªã¼ã¹Play 2.3ããã¯ï¼ãããï¼å¹´ã¶ãã«ãªããä»åã®ãªãªã¼ã¹ã¯ï¼Playã®ã³ã³ããªãã¥ã¼ã¿ã§ãã£ãKate von Roederæ°ã追æ¼ãã¦ï¼Damiyaã¨å½åããã¦ããã 2.3ããä¾åæ§æ³¨å ¥(DI)ãæ¡ç¨ãã¦éå§ããããªãã¡ã¯ã¿ãªã³ã°ã«ããã¢ã¸ã¥ã¼ã«æ§ã®åä¸ã¯ï¼ä»åã®ãªãªã¼ã¹ã§ãç¶ç¶ããã¦ããããã®æ¹éã«ãã£ã¦ï¼Anormãã¼ã¿ã¢ã¯ã»ã¹å±¤ãEbeanã¨ãã£ãã¢ã¸ã¥ã¼ã«ãå¥ããã¸ã§ã¯ãã¨ãã¦åãåºããããã¾ãä»åã®Playã§ã¯Java 8ãå¿ é ã¨ãªãï¼ã©ã ããããã©ã«ãã¡ã½ãããJava-APIã§ä½¿ç¨ããã¦ããã ä¾åæ§æ³¨å ¥ã¯ããã¾ã§ã®ãã¼ã¸ã§ã³ã§ããµãã¼ãããã¦ãããï¼ä»åããã¯åæç¶æ ã§ä½¿ç¨å¯è½ã«ãªãã¨ã¨ãã«ï¼å©ç¨ãæ¨å¥¨ãããããã«ãªã£ã â ã°ãã¼ãã«ã¹ãã¼
This page has moved to ../../docs/ja/More-About-Settings.html.
æ°ããè¨èªãããã£ããã¨ããããã©ã ãè¨ç®ã®ã¤ã³ã¿ããªã¿ãå®è£ ãããã! Scalaã§ãµã¤ãã«ã©ã ãè¨ç®ã®ã¤ã³ã¿ããªã¿ãå®è£ ããã®ã¯ãã¾ãã«ç°¡å*1ãªã®ã§, åã¬ãã«ã§ãã£ã¦ã¿ã. ã¾ãããªè©±ããã¦ããã¨, C++ã®ãã³ãã¬ã¼ãããã¥ã¼ãªã³ã°å®å ¨ãªã®ã¯æåãªè©±ã ãã©, Scalaã§ã¯ã©ããªã®ãæ°ã«ãªã£ã. 以åC++ã®ãã³ãã¬ã¼ãã§ã©ã ãè¨ç®ã®ã¤ã³ã¿ããªã¿ãå®è£ ããã®ã¨åæ§ã®ãã¨ãã§ãããæèå®é¨ãã¦ã¿ãã¨, ã ãããã§ãããã«æããã®ã§ãã£ã¦ã¿ã. ã§ãããã® ä¾ import lambda._ case class Equals[A >: B <: B, B]() // åã¬ãã«ã®åå¤æ§ãã§ãã¯ç¨ type S = x ->: y ->: z ->: ( x @@ z @@ (y @@ z) ) type K = x ->: y ->: x type result = ( S @@ K
Scalaã§SQLãæ¸ãã®ã«Slickã§ä¾¿å©ã«ãã話. Slickã§ã¯çSQLãè£éå(sql"...")ã§æ¸ããããã©, ãªã¹ãã渡ããªãã¦WHERE column IN ($list)ã§ããªãã£ãã, ä»ã«ãããã¤ãä¸ä¾¿ãªã¨ããããã£ãã®ã§ãªãã¨ããã. æè¿ã«ãªã£ã¦Scalaãæ¸ãå§ããã®ã§Scalaåãä¸ããããã®ç·´ç¿ãå ¼ãã¦ãã. ãªãçSQLã 社å ã§ã¯æ¢ã«Mackerelã§Slickã使ã£ã¦ãã¦, liftedãªæ¸ãæ¹ããã¦ããããã©, ããã¯ã±ã£ã¨æãã¤ãã ãã§ã以ä¸ã®ãããªå®éç¨ä¸ã®èª²é¡ããã£ã. ããããã©ã®é¨åãã¯ã¨ãªã表ãã¦ããã®ãã±ã£ã¨è¦ãããã¥ãã æå³ããè¤éãªã¯ã¨ãªã«ãªããã¨ããã éScalaã¨ã³ã¸ãã¢ãèªããªã ã¨ãã«æå¾ã®ã¯, ãã¨ãã°ã¤ã³ãã©ç³»ã®ã¨ã³ã¸ãã¢ã(ã¯ã¨ãªãã°ãç²¾æ»ããçµæãªã©ãã)ãã°ãã¯ã¨ãªã®åºæãæ¢ããã¨æã£ãã¨ãã«å ¨ãæãã¤ããããª
ãScalaé¢æ°åãã¶ã¤ã³ & ããã°ã©ãã³ã° - Scalazã³ã³ããªãã¥ã¼ã¿ã«ããé¢æ°åå¾¹åºã¬ã¤ãã(ã¿ã¤ãã«é·ã)ãèªãã§ãããã¾ã èªã¿çµãã£ã¦ããªãããç¾æç¹ã§ã®ææ³ã¨ãã¦ã¯ãæé«ã®æ¬ã ï¼ãã¨ããæãã Scalaé¢æ°åãã¶ã¤ã³&ããã°ã©ãã³ã° âScalazã³ã³ããªãã¥ã¼ã¿ã¼ã«ããé¢æ°åå¾¹åºã¬ã¤ã (impress top gear) ä½è : Paul Chiusano,Rúnar Bjarnason,æ ªå¼ä¼ç¤¾ã¯ã¤ã¼ãåºç社/ã¡ã¼ã«ã¼: ã¤ã³ãã¬ã¹çºå£²æ¥: 2015/03/20ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼ãã®ååãå«ãããã° (4件) ãè¦ã æ¸åããã¯ã¾ã£ããããããç¥ããã¨ã¯ã§ããªããããã¡ãã¯ãFunctional Programming in Scala(以ä¸FPinScala)ãã¨ããæ¸ç±ã®æ¥æ¬èªè¨³æ¬ã§ããã Functional Programming in S
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}