libretto-examples
libretto-examples
libretto.examples
CoffeeMachine
Beverage
CoffeeMachine
Flavor
ShotCount
Size
Echo
Fibonacci
HelloWorld
PingPong
PingPongN
PoolingMicroscopes
Microscopes
BorrowedMicroscope
Name
libretto.examples.coffeemachine
CoffeeMachine
CoffeeMachineClient
CoffeeMachineProvider
Protocol
Beverage
CoffeeMachine
Flavor
ShotCount
Size
libretto.examples.diningPhilosophers
DiningPhilosophers
Forks
ForksProvider
Philosophers
Philosophers
libretto.examples.supermarket
AbstractGoods
Customers
Customers
Goods
GoodsConsumer
GoodsProducer
Supermarket
SupermarketInterface
SupermarketProvider
baskets
money
libretto-examples
/
libretto.examples.supermarket
/
money
money
object
money
Graph
Supertypes
Self type
class
Object
trait
Matchable
class
Any
money
Type members
Value members
Implicits
Type members
Types
opaque type
Coin
opaque type
CoinBank
Value members
Concrete methods
def
depositCoin
:
Coin
|*|
CoinBank
-⚬
CoinBank
def
forgeCoin
:
Done
-⚬
Coin
def
newCoinBank
:
Done
-⚬
CoinBank
def
openCoinBank
:
CoinBank
-⚬
Val
[
Int
]
def
receiveCoin
:
One
-⚬
-
[
Coin
]
|*|
Coin
def
sendCoin
:
Coin
|*|
-
[
Coin
]
-⚬
One
Implicits
Implicits
implicit
def
junctionCoinBank
:
Positive
[
CoinBank
]
implicit
def
semigroupCoinBank
:
Semigroup
[
CoinBank
]
implicit
def
signalingJunctionCoin
:
Positive
[
Coin
]