ppl icon indicating copy to clipboard operation
ppl copied to clipboard

This repository contains the material related to the practical classes of the course Principles of Programming Languages

Results 12 ppl issues
Sort by recently updated
recently updated
newest added

Buongiorno, ho letto le soluzioni dell'esercizio di haskell e mi sembra di capire che tale versione non rispetti la interchange law (http://hackage.haskell.org/package/base-4.12.0.0/docs/Control-Applicative.html) degli applicative: La definizione è questa: ```haskell instance...

The following one is the recursive solution to the erlang exercise of the 20/07/2017 exam

I have implemented an alternative version of the functions mapListM and numberList that make use of explicit lambdas for building runStates that are then wrapped into States, instead of using...

## Blackjack A player consists of two elements 1) A data structure that contains the turn in hand (continuation), name and current score 2) a function/macro encapsulating the player behavior...

TUTORING

In class we saw this exercise taken from the above mentioned exam > -- 2) Define a purely functional (i.e. non destructive) > -- version of the reverse presented in...

What if we simply impose an order in the reception of the messages from the subtrees? They'll just stack in the mailbox, no deadlock should arise: ``` brancy(L, R, Fun)...

In my journey to understand the State monad I decided to try and unwrap the do notation into a series of binds (>>=) and subsequently apply the bind definition to...

I don't know if this is a meaningful comment but I was reasoning for a hour an half on this piece of code to understand it properly and I think...

question
haskell

I'm trying to solve the 99 Haskell questions that you find at this [link](https://wiki.haskell.org/99_questions) I'm dealing with the following problem: **Flatten a nested list structure**. Transform a list, possibly holding...

Hello, I was looking at an exercise presented in a previous course (here: https://github.com/gioenn/pl/blob/master/ex4.rkt) it mimics a parallel computation with tasks, a queue and accessory coroutines like enqueue, dequeue, fork...

question
scheme
haskell