Vermont: Difference between revisions
| (4 intermediate revisions by the same user not shown) | |||
| Line 47: | Line 47: | ||
=== Technical presentations in scheduled order === | === Technical presentations in scheduled order === | ||
Lambert Meertens,[[Media: | Lambert Meertens,[[Media:72-UF-SRI.pdf|UniFormal -- Towards a mediator for unifying formalisms for proof obligations]] (Monday, December 8, 2014, 10:45) | ||
<blockquote> | <blockquote> | ||
This is a replay of a talk I gave at SRI last week, and a follow-up on [http://foswiki.cs.uu.nl/foswiki/IFIP21/Ulm#UniFormal the presentation I gave at Ulm]. In the first part I argue why work in this direction is important and urgent. The second part is more about the how -- or at least some first steps. | This is a replay of a talk I gave at SRI last week, and a follow-up on [http://foswiki.cs.uu.nl/foswiki/IFIP21/Ulm#UniFormal the presentation I gave at Ulm]. In the first part I argue why work in this direction is important and urgent. The second part is more about the how -- or at least some first steps. | ||
| Line 62: | Line 62: | ||
</blockquote> | </blockquote> | ||
Meng Wang, | Meng Wang, [[Media:72-IFIP2.1_Vermont.pdf|Higher-Order Bidirectional Programming]] (Monday, December 8, 2014, 16:15) | ||
<blockquote> | |||
Lenses (bidirectional programs) are usually represented as pairs of functions, going forwards and backwards respectively. The functions in such a pair have to be consistent with each other to make sense, and the technique of correctness-by-construction is commonly employed to program lenses from more primitive ones. The cost of such an approach is the specialized combinators that need to be designed by language implementers and used by programmers, resulting in an inconvenient programming style. We advocate bidirectional programming in the style of normal unidirectional programming, and will show how. We will use normal lambda abstractions and function applications, and normal higher-order functions such as `map` and `foldr` in our programs, largely replacing the stylized lens combinators. | |||
</blockquote> | |||
Jose Pedro Magalhaes, ''[http://dreixel.net/research/pdf/fmmhaia_pres_ifip14.pdf Functional Modelling of Musical Harmony And Its Applications]'' (Tuesday, December 9, 2014, 9:02) | Jose Pedro Magalhaes, ''[http://dreixel.net/research/pdf/fmmhaia_pres_ifip14.pdf Functional Modelling of Musical Harmony And Its Applications]'' (Tuesday, December 9, 2014, 9:02) | ||
<blockquote> | |||
In this talk I review my second favourite research theme, which I've worked on for the past four years. I explain how we've modelled musical harmony as a Haskell datatype, making use of several advanced functional programming techniques along the way. I then show all the applications we've explored so far - musical analysis, similarity, generation, and estimation. I draw parallels between each musical application and standard programming language techniques (such as parsing, diffing, and using QuickCheck). I also detail challenges encountered and overcome, and future work directions. | |||
</blockquote> | |||
Nicolas Wu, ''Fusing Effect Handlers'' (Tuesday, December 9, 2014, 11:05) | Nicolas Wu, ''Fusing Effect Handlers'' (Tuesday, December 9, 2014, 11:05) | ||
<blockquote> | |||
Effect handlers are a lightweight and compositional means of describing effectful computations. Syntax is represented using a free monad, and handlers can be thought of as folds over that syntax. In this talk, we show that working with a specification of the free monad is useful for thinking about their calculational properties. One such property is fusion, which allows several folds over syntax to be collapsed into one. As it turns out, working with the specification is crucial in order to derive a fusion method that is efficient. | |||
</blockquote> | |||
Andrew Black, [[ | Andrew Black, [[Media:72-Grace_at_WG2.1.pdf|Grace -- object-oriented programming language for novices]] (Tuesday, December 9, 2014, 12:00) | ||
<blockquote> | |||
We -- myself, Kim Bruce & James Noble -0 are engaged in the design of a new object-oriented educational programming language called Grace. Our motivation is frustration with available languages, none of which seems to be suited to our target audience -- students in the first two programming courses who are learning to program in an object-oriented style. Grace aims to be significantly simpler than existing languages, and yet to make it possible to write powerful libraries that effectively extend the language. Grace achieves this by using blocks (representing functions) to define all its "built-in" control structures, so each new kind of data object defined in a library can be equipped with the control structures necessary to make it appear "first class". Grace also supports, but does not require, static type checking. This makes it possible to use Grace as a dynamically typed language, to start with dynamic types and add static types later, or to teach static types from the beginning. | |||
</blockquote> | |||
Mauro Jaskelioff, ''Monads, applicatives, and arrows as monoids'' (Tuesday, December 9, 2014, 14:34) | Mauro Jaskelioff, ''Monads, applicatives, and arrows as monoids'' (Tuesday, December 9, 2014, 14:34) | ||
<blockquote> | |||
Monads are extensively used and their theory has been thoroughly studied. Applicative functors, on the other hand, have been gaining acceptance but their theoretical properties remain largely unstudied. It is well known that monads can be seen as a generalised monoid. In this talk I'll show that applicative functors also can be seen as monoids, and therefore general constructions and techniques for monoids can be instantiated to both monads and applicatives. In particular, we'll see how free monoids and Cayley representations for monoids are instantiated to monads and applicative functors. Arrows are another notion used to structure programs, and they also can be seen as monoids. We'll analyse the construction of the free arrow and a Cayley representation for arrows. | |||
</blockquote> | |||
Andy Gill, ''Worker/Wrapper for a Better Life - Using HERMIT to transform Haskell programs in a post-hoc manner'' (Tuesday, December 9, 2014, 16:09) | Andy Gill, ''Worker/Wrapper for a Better Life - Using HERMIT to transform Haskell programs in a post-hoc manner'' (Tuesday, December 9, 2014, 16:09) | ||
<blockquote> | |||
In this talk we show it is possible in practice to connect together an executable specification of Conway's Game of Life, and a number of implementations, using the worker/wrapper transformation. We use the rewrite tool HERMIT to apply post-hoc transformations to replace a linked-list based description with other data structures.Directed optimizations allow for highly-efficient executable specifications, where the model becomes the implementation. This work is the first time programmer-directed worker/wrapper has been attempted on a whole application, rather than simply on individual functions. Beyond data representation improvement, we translate our model such that we can execute on a CPU/GPU hybrid, by targeting the accelerate DSL. | |||
</blockquote> | |||
Marcos Viera, ''First Class Syntax, Semantics, and Their Composition'' (Wednesday, December 10, 2014, 9:00) | Marcos Viera, ''First Class Syntax, Semantics, and Their Composition'' (Wednesday, December 10, 2014, 9:00) | ||
| Line 79: | Line 97: | ||
</blockquote> | </blockquote> | ||
Tom Schrijvers, [http://people.cs.kuleuven.be/~tom.schrijvers/Research/talks/IFIP_Vermont.pdf Effect Handlers in Scope] (Wednesday, December 10, 2014, 10:55) | |||
Tom Schrijvers, | <blockquote> | ||
This talk is a follow-up on [[Media:71_schrijvers-zeegse.pdf|the presentation I gave in Zeegse]] and extends my [http://people.cs.kuleuven.be/~tom.schrijvers/Research/papers/haskell2014.pdf Haskell Symposium 2014 talk]. Algebraic effect handlers are a powerful means for describing effectful computations. They provide a lightweight and orthogonal technique to define and compose the syntax and semantics of different effects. The semantics is captured by handlers, which are functions that transform syntax trees. Unfortunately, the approach does not support syntax for scoping constructs, which arise in a number of scenarios. While handlers can be used to provide a limited form of scope, we demonstrate that this approach constrains the possible interactions of effects and rules out some desired semantics. This talk presents a way to capture scoped constructs in higher-order syntax, and shows how to achieve different semantics by reordering handlers. | |||
</blockquote> | |||
Robert Dewar, ''Spark'' (Thursday, December 11, 2014, 9:05) | Robert Dewar, ''Spark'' (Thursday, December 11, 2014, 9:05) | ||
| Line 87: | Line 107: | ||
</blockquote> | </blockquote> | ||
Johan Jeuring, ''[[Media:72-Algebra.key.pdf|An algebra for how to solve it]]'' (Thursday, December 11, 2014, 9:53) | |||
Johan Jeuring, ''[[Media: | |||
<blockquote> | <blockquote> | ||
No abstract provided. | No abstract provided. | ||
</blockquote> | </blockquote> | ||
Andrew Black, [[Media:72-ExpressionProblemTalk.pdf|The Expression Problem, Gracefully]] (Thursday, December 11, 2014, 11:37) | |||
Andrew Black, [[Media: | <blockquote> | ||
The "Expression Problem" was first formulated by Wadler in 1998, in an email message that focused on demonstrating the superiority of GJ over Java. It is widely regarded as illustrating that the two mainstream approaches to data abstraction -- procedural abstraction via Objects and type abstraction via Algebraic Data Types -- are complementary, with the strengths of one being the weaknesses of the other. Along the way, an extensive literature has been generated, which nevertheless leaves the origin of the problem ill-understood. We show that the core problem is in fact the use of global constants, and demonstrate that the problem goes way when Java is replaced by a more modern language like Grace, which eliminates them. | |||
</blockquote> | |||
Tarmo Uustalu, ''Runners for computations'' (Thursday, December 11, 2014, 14:03) | Tarmo Uustalu, ''Runners for computations'' (Thursday, December 11, 2014, 14:03) | ||
| Line 105: | Line 126: | ||
No abstract provided. | No abstract provided. | ||
</blockquote> | </blockquote> | ||
Annie Liu, ''DistAlgo'' (Friday, December 12, 2014, 11:05) | Annie Liu, ''DistAlgo'' (Friday, December 12, 2014, 11:05) | ||
Latest revision as of 10:18, 30 April 2026
Minutes
Participants
- Andrew Black
- Hendrik Boom
- Ernie Cohen
- Robert Dewar
- Jeremy Gibbons
- Andy Gill
- Zhenjiang Hu
- Patrik Jansson
- Mauro Jaskelioff
- Johan Jeuring
- Peter King
- Annie Liu
- Jose Pedro Magalhaes
- Lambert Meertens
- Carroll Morgan
- Shin Cheng Mu
- Alberto Pardo
- Tom Schrijvers
- Doaitse Swierstra
- Tarmo Uustalu
- Marcos Viera
- Meng Wang
- Dave Wile
- Nicolas Wu
- Brent Yorgey
Organizational and administrative matters
Friday morning, December 12, 2014.
Membership
These private matters are not recorded in the public version of the minutes.
Formal resolution
The members of WG2.1 and the observers present at the 72nd meeting in Bennington, Vermont wish to express their gratitude to Robert Dewar and Lynn Stratton for their hospitality in welcoming us into Dewar Mansion, handling our every effect with aplomb.We experienced a haven of warmth and light, sheltered from the cold and dark. We were graced with a kaleidoscope of multichromatic robes in a monochrome world. We explored the art of algorithmic machinery, and enjoyed the machinery of the musical arts.
Next meetings
- The 73rd meeting will be held around Goteborg in August, 2015. Patrik will send out a doodle.
- May 16 - 20, 2016 Conor offers to organize a meeting in Scotland.
- The 75th meeting might be organized in Uruguay.
Technical presentations in scheduled order
Lambert Meertens,UniFormal -- Towards a mediator for unifying formalisms for proof obligations (Monday, December 8, 2014, 10:45)
This is a replay of a talk I gave at SRI last week, and a follow-up on the presentation I gave at Ulm. In the first part I argue why work in this direction is important and urgent. The second part is more about the how -- or at least some first steps.
Doaitse Swierstra, Towards more expressive Existential Types (Monday, December 8, 2014, 11:55)
We will argue that for languages with lazy evaluation the common type systems, and especially the way they deal with existential types, are not sufficient expressive. We will show how certain useful programs fail to be typed by GHC (but are by UHC). The talk will not be Haskell specific.
Jeremy Gibbons, Booster - Formal Model-Driven Engineering (Monday, December 8, 2014, 14:03)
I'll talk about the Booster system that we've been using in anger at Oxford for past 15 years, for generating an information system from a simple data model. The model specifies entities, relationships, attributes, invariants, and method pre- and post-conditions. The generated system consists of a database, guaranteed integrity constraints, and a web interface. It's "MDE", in the sense that working software in generated automatically from an abstract model. It's "domain specific"; we don't claim to have solved the general automatic programming problem, only in a rather restricted domain of "information systems". It's a "modern-day formal method", in the sense that it's an evolution of the Z and B methods which some actual useful tool support (although still very much a research prototype).
Meng Wang, Higher-Order Bidirectional Programming (Monday, December 8, 2014, 16:15)
Lenses (bidirectional programs) are usually represented as pairs of functions, going forwards and backwards respectively. The functions in such a pair have to be consistent with each other to make sense, and the technique of correctness-by-construction is commonly employed to program lenses from more primitive ones. The cost of such an approach is the specialized combinators that need to be designed by language implementers and used by programmers, resulting in an inconvenient programming style. We advocate bidirectional programming in the style of normal unidirectional programming, and will show how. We will use normal lambda abstractions and function applications, and normal higher-order functions such as `map` and `foldr` in our programs, largely replacing the stylized lens combinators.
Jose Pedro Magalhaes, Functional Modelling of Musical Harmony And Its Applications (Tuesday, December 9, 2014, 9:02)
In this talk I review my second favourite research theme, which I've worked on for the past four years. I explain how we've modelled musical harmony as a Haskell datatype, making use of several advanced functional programming techniques along the way. I then show all the applications we've explored so far - musical analysis, similarity, generation, and estimation. I draw parallels between each musical application and standard programming language techniques (such as parsing, diffing, and using QuickCheck). I also detail challenges encountered and overcome, and future work directions.
Nicolas Wu, Fusing Effect Handlers (Tuesday, December 9, 2014, 11:05)
Effect handlers are a lightweight and compositional means of describing effectful computations. Syntax is represented using a free monad, and handlers can be thought of as folds over that syntax. In this talk, we show that working with a specification of the free monad is useful for thinking about their calculational properties. One such property is fusion, which allows several folds over syntax to be collapsed into one. As it turns out, working with the specification is crucial in order to derive a fusion method that is efficient.
Andrew Black, Grace -- object-oriented programming language for novices (Tuesday, December 9, 2014, 12:00)
We -- myself, Kim Bruce & James Noble -0 are engaged in the design of a new object-oriented educational programming language called Grace. Our motivation is frustration with available languages, none of which seems to be suited to our target audience -- students in the first two programming courses who are learning to program in an object-oriented style. Grace aims to be significantly simpler than existing languages, and yet to make it possible to write powerful libraries that effectively extend the language. Grace achieves this by using blocks (representing functions) to define all its "built-in" control structures, so each new kind of data object defined in a library can be equipped with the control structures necessary to make it appear "first class". Grace also supports, but does not require, static type checking. This makes it possible to use Grace as a dynamically typed language, to start with dynamic types and add static types later, or to teach static types from the beginning.
Mauro Jaskelioff, Monads, applicatives, and arrows as monoids (Tuesday, December 9, 2014, 14:34)
Monads are extensively used and their theory has been thoroughly studied. Applicative functors, on the other hand, have been gaining acceptance but their theoretical properties remain largely unstudied. It is well known that monads can be seen as a generalised monoid. In this talk I'll show that applicative functors also can be seen as monoids, and therefore general constructions and techniques for monoids can be instantiated to both monads and applicatives. In particular, we'll see how free monoids and Cayley representations for monoids are instantiated to monads and applicative functors. Arrows are another notion used to structure programs, and they also can be seen as monoids. We'll analyse the construction of the free arrow and a Cayley representation for arrows.
Andy Gill, Worker/Wrapper for a Better Life - Using HERMIT to transform Haskell programs in a post-hoc manner (Tuesday, December 9, 2014, 16:09)
In this talk we show it is possible in practice to connect together an executable specification of Conway's Game of Life, and a number of implementations, using the worker/wrapper transformation. We use the rewrite tool HERMIT to apply post-hoc transformations to replace a linked-list based description with other data structures.Directed optimizations allow for highly-efficient executable specifications, where the model becomes the implementation. This work is the first time programmer-directed worker/wrapper has been attempted on a whole application, rather than simply on individual functions. Beyond data representation improvement, we translate our model such that we can execute on a CPU/GPU hybrid, by targeting the accelerate DSL.
Marcos Viera, First Class Syntax, Semantics, and Their Composition (Wednesday, December 10, 2014, 9:00)
No abstract provided.
Tom Schrijvers, Effect Handlers in Scope (Wednesday, December 10, 2014, 10:55)
This talk is a follow-up on the presentation I gave in Zeegse and extends my Haskell Symposium 2014 talk. Algebraic effect handlers are a powerful means for describing effectful computations. They provide a lightweight and orthogonal technique to define and compose the syntax and semantics of different effects. The semantics is captured by handlers, which are functions that transform syntax trees. Unfortunately, the approach does not support syntax for scoping constructs, which arise in a number of scenarios. While handlers can be used to provide a limited form of scope, we demonstrate that this approach constrains the possible interactions of effects and rules out some desired semantics. This talk presents a way to capture scoped constructs in higher-order syntax, and shows how to achieve different semantics by reordering handlers.
Robert Dewar, Spark (Thursday, December 11, 2014, 9:05)
No abstract provided.
Johan Jeuring, An algebra for how to solve it (Thursday, December 11, 2014, 9:53)
No abstract provided.
Andrew Black, The Expression Problem, Gracefully (Thursday, December 11, 2014, 11:37)
The "Expression Problem" was first formulated by Wadler in 1998, in an email message that focused on demonstrating the superiority of GJ over Java. It is widely regarded as illustrating that the two mainstream approaches to data abstraction -- procedural abstraction via Objects and type abstraction via Algebraic Data Types -- are complementary, with the strengths of one being the weaknesses of the other. Along the way, an extensive literature has been generated, which nevertheless leaves the origin of the problem ill-understood. We show that the core problem is in fact the use of global constants, and demonstrate that the problem goes way when Java is replaced by a more modern language like Grace, which eliminates them.
Tarmo Uustalu, Runners for computations (Thursday, December 11, 2014, 14:03)
No abstract provided.
Carroll Morgan, Monadic semantics for quantative non-interference security (Thursday, December 11, 2014, 15:09)
No abstract provided.
Annie Liu, DistAlgo (Friday, December 12, 2014, 11:05)
No abstract provided.
Meeting information
Dates
Monday December 8 -- Friday December 12, 2014
Location
1591 Carpenter Hill Road Bennington, Vermont, 05201
Google maps is good, but thinks we are 0.3 miles further from the South of Carpenter Hill than we really are. Pay attention to the 1.6 miles in the directions below. I give directions from NYC, Albany, Boston. Let me know if you need directions from elsewhere.
How to get there
We recommend participants to share information about when they arrive at which airport, and to self-arrange transportation to the venue via this wiki (see above under Participants).
Directions from New York*
Total travel time, about 3.5 hours. I will be able to take some people up in my car, depending on arrival times in NYC, and hopefully we can coordinate car pooling and shared car rental.
Two possibilities to Taconic
West side: go up west side high way, on to Henry Hudson, then onto Sawmill, then take exit to Taconic (about 30 miles north of city).
East-Side: Get on 87 north. There are two exits from 87 to the Taconic north, you can take either one, I usually take the first one.
Get onto Taconic going North (see below). Exit east on route 295. This is the last exit before the toll, and is so marked, right at the North end of the Taconic. It is about 65 miles North of the I84 intersection.
Go East on route 295 to route 22 (traffic light)
Go North on route 22 to route 43 (traffic light in Stephentown). There is a jog to the right in Lebanon, then a left turn north after about half a mile, watch signs.
Take route 43 to route 7 (Williamstown)
Go North on route 7 into Williamstown to the traffic circle (a few miles, right in the center of Williamstown).
The Williamstown Inn is on the North West corner of this traffic circle).
Go North on route 7 a distance of 7.4 miles. Milestones at the turn are a fire house on the left, the Cozy Corners trailer park on the right, and (if dark) one of the few street lights around on the left.
Turn left on to North Pownal Road.
Travel 0.95 miles West on North Pownal Road
Turn right onto Carpenter Hill Road, so watch for that 0.95 miles. Carpenter Hill Road is paved for about 20 yards, and then unpaved, one way of knowing you are in the right place. There is also another of the rare Pownal street lights at the intersection.
Directions from Albany Airport*
Total travel time: 55 mins
Only practical way is car rental or taxi (taxi is about $110), or have someone pick you up. That's probably practical if we organize things well enough in advance.
Take Albany Shaker Rd to NY-7 E 2.1 mi / 4 min
Turn right onto NY-7 E 2.5 mi
Turn left onto the Interstate 87 N ramp to New York 7 E/Saratoga Springs/Troy 0.3 mi
Merge onto I-87 N 0.3 mi
Take exit 7 for New York 7 E toward Troy/Cohoes 0.3 mi
Merge onto NY-7 E/Hwy 7 E 25.2 mi
Turn right onto NY-22 S 2.2 mi
Continue on NY-346 S. Take N Pownal Rd to Carpenter Hill Rd in Pownal 7.1 mi / 13 min
Turn left onto NY-346 S Entering Vermont 2.6 mi Continue onto VT-346 S 1.1 mi
Turn left onto N Pownal Rd 1.9 mi
Turn left onto Carpenter Hill Rd Destination will be on the left 1.6 miles
Travel from Boston*
Total travel time about 2 hours 45 minutes by car, Google says 3 hours but I think that's pessimistic. Car rental, or car pooling are the possibilities, again with planning we can hopefully share.
Get on I-90 W 1.2 mi / 2 min
Follow I-90 W to NY-22 N in Canaan. Take exit B3 from I-90 W 138 mi / 2 h 6 min
Turn right onto NY-22 N 7.7 mi
Turn right onto NY-22 N/US-20 E Continue to follow US-20 E 0.7 mi
Turn left onto NY-22 N 26.7 mi
Turn right onto NY-346 S
Entering Vermont 2.6 mi Continue onto VT-346 S 1.1 mi
Turn left onto N Pownal Rd 1.9 mi
Turn left onto Carpenter Hill Rd Destination will be on the left 1.6 miles
Registration and accommodation
Payment
Bring $150 in cash for the meeting for food, coffee, etc.
Internet
Trip
Latest information
Meeting programme
Schedule (subject to change)
We will start at 9:00 on Monday and finish at noon on Friday. Please arrange to be there for the full meeting.
Monday, Tuesday, and Thursday, the schedule is as follows:
- session - 9:00 to 10:30
- coffee break - 10:30 to 11:00
- session - 11:00 to 12:30
- lunch - 12:30 to 14:00
- session - 14:00 to 15:30
- coffee break at 15:30 to 16:00
- session - 16:00 to 18:00
- dinner - 19:00 to ...
Excursion
Banquet
Will be announced.
Cost
-- Main.JohanJeuring - 17 Jul 2014