Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Doo bee doo bee doo

View through CrossRef
Abstract We explore the design and implementation of Frank, a strict functional programming language with a bidirectional effect type system designed from the ground up around a novel variant of Plotkin and Pretnar’s effect handler abstraction. Effect handlers provide an abstraction for modular effectful programming: a handler acts as an interpreter for a collection of commands whose interfaces are statically tracked by the type system. However, Frank eliminates the need for an additional effect handling construct by generalising the basic mechanism of functional abstraction itself. A function is but the special case of a Frank operator that interprets no commands. Moreover, Frank’s operators can be multihandlers which simultaneously interpret commands from several sources at once, without disturbing the direct style of functional programming with values. Effect typing in Frank employs a novel form of effect polymorphism which avoids mentioning effect variables in source code. This is achieved by propagating an ambient ability inwards, rather than accumulating unions of potential effects outwards. With the ambient ability describing the effects that are available at a certain point in the code, it can become necessary to reconfigure access to the ambient ability. A primary goal is to be able to encapsulate internal effects, eliminating a phenomenon we call effect pollution . Moreover, it is sometimes desirable to rewire the effect flow between effectful library components. We propose adaptors as a means for supporting both effect encapsulation and more general rewiring. Programming with effects and handlers is in its infancy. We contribute an exploration of future possibilities, particularly in combination with other forms of rich type systems.
Title: Doo bee doo bee doo
Description:
Abstract We explore the design and implementation of Frank, a strict functional programming language with a bidirectional effect type system designed from the ground up around a novel variant of Plotkin and Pretnar’s effect handler abstraction.
Effect handlers provide an abstraction for modular effectful programming: a handler acts as an interpreter for a collection of commands whose interfaces are statically tracked by the type system.
However, Frank eliminates the need for an additional effect handling construct by generalising the basic mechanism of functional abstraction itself.
A function is but the special case of a Frank operator that interprets no commands.
Moreover, Frank’s operators can be multihandlers which simultaneously interpret commands from several sources at once, without disturbing the direct style of functional programming with values.
Effect typing in Frank employs a novel form of effect polymorphism which avoids mentioning effect variables in source code.
This is achieved by propagating an ambient ability inwards, rather than accumulating unions of potential effects outwards.
With the ambient ability describing the effects that are available at a certain point in the code, it can become necessary to reconfigure access to the ambient ability.
A primary goal is to be able to encapsulate internal effects, eliminating a phenomenon we call effect pollution .
Moreover, it is sometimes desirable to rewire the effect flow between effectful library components.
We propose adaptors as a means for supporting both effect encapsulation and more general rewiring.
Programming with effects and handlers is in its infancy.
We contribute an exploration of future possibilities, particularly in combination with other forms of rich type systems.

Related Results

Stingless Bee-Collected Pollen (Bee Bread): Chemical and Microbiology Properties and Health Benefits
Stingless Bee-Collected Pollen (Bee Bread): Chemical and Microbiology Properties and Health Benefits
Stingless bee-collected pollen (bee bread) is a mixture of bee pollen, bee salivary enzymes, and regurgitated honey, fermented by indigenous microbes during storage in the cerumen ...
Life and Activities of Seol Gye-Doo(薛罽頭) in the Early 7th Century
Life and Activities of Seol Gye-Doo(薛罽頭) in the Early 7th Century
As a figure in the King Jinpyeong’s period (r. 579-632), Seol Gye-Doo(薛罽頭) is well-known as a person who criticized Silla Golpumje(骨品制, Bone-rank system) and joined Tang dynasty. T...
Creating A Buzz
Creating A Buzz
<p>How might communication design be utilised to raise awareness about the sustained well-being of Wellington City’s honey bee populations?  Human concern and intervention ha...
Studies on bee diversity in Indian coffee varieties and impact of bee pollination on coffee quality
Studies on bee diversity in Indian coffee varieties and impact of bee pollination on coffee quality
Globally, Coffea arabica (Arabica coffee) and Coffea canephora (Robusta coffee) are the two coffee varieties grown on commercial scale which have distinct difference in terms of po...
Potential Honey Bee Plants of Egypt
Potential Honey Bee Plants of Egypt
AbstractThere are various plants with potential feeding importance to honey bee, Apis mellifera, colonies as source of pollen, nectar or both. Selection of suitable regions for api...
Quality of spent hen sausages incorporated with bee honey
Quality of spent hen sausages incorporated with bee honey
The experiment was conducted to find out the effect of bee honey on the sensory, physicochemical and biochemical properties of spent hen sausages. For this purpose, sausages were p...
Flower diversity and bee reproduction in an arid ecosystem
Flower diversity and bee reproduction in an arid ecosystem
Background. Diverse flower communities are more stable in floral resource production along the flowering season, but the question about how the diversity and stability of resources...
Factors that determine the livability of the bees of Carpathian breed in winter
Factors that determine the livability of the bees of Carpathian breed in winter
The livability of the bee colonies in winter is an important breeding characteristic that depends on the breed of bees and paratypical factors such as: weather conditions during th...

Back to Top