AS
O => F[Unit], evalTap will provide much greater performance.Size: a a a
AS
O => F[Unit], evalTap will provide much greater performance.R
O => F[Unit], evalTap will provide much greater performance..broadcastTo подойдёт:D
<html>мне приходит какой-то JSON:
<head>
<title>${title}</title>
</head>
<body>
<p>${description}</p>
<p>${footer}</p>
</body>
{
"title": "My title",
"description": "Some description goes here",
"footer": "email footer"
} нужно что то типа .render(template, json)Oℕ
VS
Oℕ
λƒ
<html>мне приходит какой-то JSON:
<head>
<title>${title}</title>
</head>
<body>
<p>${description}</p>
<p>${footer}</p>
</body>
{
"title": "My title",
"description": "Some description goes here",
"footer": "email footer"
} нужно что то типа .render(template, json)λƒ
D
S
M
M
Oℕ
S
S
Oℕ
Oℕ
Oℕ
object User{
type User <: JavaUser
def apply(j: JavaUser): Either[Kek, User] = j match{
case null => Left(...)
case ju if !valid(ju) => Left(...)
case ju => Right(ju.asInstanceOf[User])
}
....
type User = User.User
S
Oℕ