Version 0.7.0 has been released. Main highlights:
- The Melquiades Operator
|→to send asynchronous messages to another processes running in the same cluster
# Send a simple message to a local GenServer
# The message can be any term
def send_notification(server_name: Atom, message: String): Unit =
message |-> server_name
# Send a record message (will be converted to map with __from__ = MelquiadesDemo)
def send_with_record(server: Atom, notification_type: Atom, content: String): Unit = (
let msg = NotificationMsg{
msg_type: notification_type,
content: content,
priority: 5
}
msg |-> server
)
- Experimental
typeclasssupport - Many improvements in examples and docs
The newly introduced operator is named after Melquiades, the the enigmatic leader of a traveling band of gypsies in Gabriel Garcia Marquez’ One Hundred Years of Solitude. Melquiades basically connected Macondo with the rest of the world, introducing the lonely village to scientific wonders and acting as a prophet, guardian, and chronicler.
Typeclasses are just typeclasses. Experimental support mean “no promises.”