Built something? We create video reels & spotlights for GitHub projects.Promote your project →
Home / Developers / uovmachiques
Developer Profile

uovmachiques

Discovered public repositories for uovmachiques in the GitHub catalog.

↗

uovmachiques/machiques

importación ornicar.scalalib importación play.api.libs.json.JsValue importación play.api.libs.concurrent.Promise importación play.api.libs.iteratee. { Iteratee , Enumerator } importación play.api.libs.iteratee.Concurrent.Channel importar play.api.Play.current importación com.novus.salat. { Context , TypeHintFrequency , StringTypeHintStrategy } importación com.mongodb.casbah.commons.conversions.scala.RegisterJodaTimeConversionHelpers importación scalaz.effects. { io , IO } paquete objeto lila extiende scalalib . Validación con scalalib . Common con scalalib . Regex con scalalib . IO con scalalib . DateTime con scalaz . Identitys con scalaz . NonEmptyLists con scalaz . Strings con scalaz . Listas con scalaz . booleanos { tipo JsChannel = Canal [ JsValue ] tipo JsEnumerator = Enumerador [ JsValue ] tipo SocketPromise = Promise [( Iteratee [ JsValue , _ ] , JsEnumerator )] / / Costumbre contexto salat implícito val customSalatContext = nuevo contexto { val nombre = "Lila contexto" override val typeHintStrategy = StringTypeHintStrategy ( cuando = TypeHintFrequency . Nunca ) } RegisterJodaTimeConversionHelpers () def [!! A ] ( MSG : Cadena ) : Válido [ A ] = msj . failNel [ A ] def nowMillis : Doble = System . currentTimeMillis def nowSeconds : Int = ( nowMillis / 1000 ). Toint implícito def richerMap [ A , B ] ( m : Mapa [ A , B ]) = nuevo { def + (? pb : ( booleano , ( A , B ))) : mapa [ A , B ] = si ( pb . _1 ) m + pb . _2 otro m } def parseIntOption ( str : Cadena ) : Opción [ Int ] = intentar { Algunos ( java . lang . Integer . parseInt ( str )) } coger { caso e : NumberFormatException ⇒ Ninguno } def parseFloatOption ( str : Cadena ) : Opción [ Float ] = intentar { Algunos ( java . lang . Float . parseFloat ( str )) } coger { caso e : NumberFormatException ⇒ Ninguno } def intbox ( en : Range.Inclusive ) ( v : int ) : int = matemáticas . máx ( en . principio , las matemáticas . min ( v , en . final )) def floatBox ( en : Range.Inclusive ) ( v : Float ) : Float = matemáticas . máx ( en . principio , las matemáticas . min ( v , en . final )) def PrintToFile ( f : java.io.File ) ( op : java.io.PrintWriter ⇒ Unidad ) : IO [ Unidad ] = io { val p = nuevo java . io . PrintWriter ( f ) intentar { op ( p ) } finalmente { p . cerrar () } } def PrintToFile ( f : Cadena ) ( op : java.io.PrintWriter ⇒ Unidad ) : IO [ Unidad ] = PrintToFile ( nuevo java . io . archivo ( f )) ( op ) }

FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner