Re: simple question

2001-07-31 Thread Tom Schrijvers
Cagdas Ozgenc wrote: books2 :: Database2 - Person - [Book] books2 db person = head [ snd tuple | tuple - db, fst tuple == person ] borrowers2 :: Database2 - Book - [Person] borrowers2 db book = [ person | (person, books) - db, book - books ] You can't pattern match against a variable

Re: Prob with numeric values

2002-05-23 Thread Tom Schrijvers
Hello, I m having some difficulties with the following thing: I've made a class which looks somehow like this: class A a where inc::a-a now, when I want to make a instance of it with type Int and define the function inc like this: instance A Int where inc a = a + 1

Re: name of List.nub function

2002-05-24 Thread Tom Schrijvers
On Fri, May 24, 2002 at 10:00:35AM -0700, Brian Huffman wrote: Hi, This is just for fun, really, but does anyone know how the nub function from the standard List module got its name? (It is the function that removes duplicates from a list, in case you are not familiar with it.) I looked

Re: [Haskell] MTL violates coverage condition?

2007-11-20 Thread Tom Schrijvers
run out of stack on this one or give up. I'm currently working with Martin Sulzmann on a relaxed set of conditions for FDs and type functions. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail

Re: [Haskell] indirectly recursive dictionaries

2009-03-17 Thread Tom Schrijvers
} C2 Int Int, C1 Int == C1 Int cycle detected C2 Int Int == C2 1st instance {} It seems that you want improvement to happen at a higher priority than GHC does now. Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001

[Haskell] FLOPS 2012: 1st Call for Papers

2011-08-15 Thread Tom Schrijvers
interfaces, Internet applications, XML, databases, formal methods and model checking. The proceedings will be published as an LNCS volume. The proceedings of the previous meeting (FLOPS 2010) were published as LNCS 6009. PC co-Chairs - Tom Schrijvers (Ghent University, Belgium

[Haskell] FLOPS 2012: final call for papers deadline extension

2011-12-05 Thread Tom Schrijvers
user interfaces, Internet applications, XML, databases, formal methods and model checking. The proceedings will be published as an LNCS volume. The proceedings of the previous meeting (FLOPS 2010) were published as LNCS 6009. PC co-Chairs - Tom Schrijvers (Ghent

[Haskell] PhD position at Ghent University

2011-12-07 Thread Tom Schrijvers
under the direction of Tom Schrijvers. The successful applicant has a master degree in Computer Science or equivalent. Ideally, she/he will also have a strong, documented interest in doing research. Strong problem-solving and programming skills are essential. Prior knowledge of purely functional

[Haskell] PPDP 2013: Call for Papers

2013-03-15 Thread Tom Schrijvers
Chalmers University of Technology, Sweden Jan Wielemaker Universiteit van Amsterdam, The Netherlands Program Chair Tom Schrijvers Department of Applied Mathematics and Computer Science Ghent University 9000 Gent, Belgium General Chair Ricardo Pena

[Haskell] PPDP 2013: 2nd Call for Papers

2013-05-07 Thread Tom Schrijvers
University of Porto, Portugal Torsten Schaub University Potsdam, Germany Tom Schrijvers Ghent University, Belgium Martin SulzmannHochschule Karlsruhe, Germany Wouter Swierstra Universiteit Utrecht, The Netherlands Tarmo Uustalu Institute

[Haskell] PPDP'13: Last call for papers

2013-06-06 Thread Tom Schrijvers
University Potsdam, Germany Tom Schrijvers Ghent University, Belgium Martin SulzmannHochschule Karlsruhe, Germany Wouter Swierstra Universiteit Utrecht, The Netherlands Tarmo Uustalu Institute of Cybernetics, Estonia Janis Voigtlaender

[Haskell] Postdoctoral Position in Programming Languages at KU Leuven

2014-09-22 Thread Tom Schrijvers
appointment of prof. Tom Schrijvers as research professor at KU Leuven. The position's aim is to reinforce the research activities in functional programming, logic programming and/or programming language theory. To apply you must hold a recent PhD (or be about to graduate) in one of the above areas

[Haskell] Postdoc Position in Functional and Constraint Programming at KU Leuven

2014-10-21 Thread Tom Schrijvers
domain-specific languages (DSLs) embedded in Haskell for constraint programming. It is part of the EU project GRACeFUL whose overarching theme is tools for collective decision making. The KU Leuven part of the project is under the direction of prof. Tom Schrijvers. To apply you must hold a recent

[Haskell] Postdoctoral Position in Functional Programming

2014-12-17 Thread Tom Schrijvers
, 2015. Send your application (cover letter, cv, 3 references) and any enquiries to tom.schrijv...@cs.kuleuven.be . -- prof. dr. ir. Tom Schrijvers Research Professor KU Leuven Department of Computer Science Celestijnenlaan 200A 3001 Leuven Belgium Phone: +32 16 327 830 http

[Haskell] Leuven Haskell User Group meeting on April 21

2015-04-15 Thread Tom Schrijvers
You are kindly invited to the special edition of the Leuven Haskell User Group with guest presentation by Amplidata. For details see: https://groups.google.com/d/msg/leuven-haskell/VNcTKtFPGL0/gQhPWtxTbg4J -- prof. dr. ir. Tom Schrijvers Research Professor KU Leuven Department of Computer

[Haskell] Leuven Haskell User Group: Season 2

2015-11-09 Thread Tom Schrijvers
there! -- prof. dr. ir. Tom Schrijvers Research Professor KU Leuven Department of Computer Science Celestijnenlaan 200A 3001 Leuven Belgium Phone: +32 16 327 830 http://people.cs.kuleuven.be/~tom.schrijvers/ ___ Haskell mailing list Haskell@haskell.org http

[Haskell] Postdoctoral position in Functional, Constraint and/or Logic Programming

2016-02-10 Thread Tom Schrijvers
Prof. Tom Schrijvers invites applications for a postdoctoral position in the area of functional, constraint and logic programming. The position revolves around domain-specific languages (DSLs) embedded in Haskell for constraint programming. It is part of the EU project GRACeFUL whose overarching

[Haskell] Doctoral or Post-Doctoral Position in Programming Language Theory & Implementation

2016-09-18 Thread Tom Schrijvers
theoretical foundations of programming languages * constraint logic programming For more details and application: https://icts.kuleuven.be/apps/jobsite/vacatures/53891815?lang=en For questions about the position, get in touch. -- prof. dr. ir. Tom Schrijvers Research Professor KU Leuven

[Haskell] PhD Position in Functional Programming and Programming Language Theory

2018-06-27 Thread Tom Schrijvers
PHD POSITION IN FUNCTIONAL PROGRAMMING AND PROGRAMMING LANGUAGE THEORY (ref. BAP-2018-431) The group of prof. Tom Schrijvers has expertise in a broad range of topics related to functional programming and programming language theory, including recent contributions to Haskell's type system

[Haskell] CfP: Haskell Symposium 2020

2020-02-04 Thread Tom Schrijvers
Oxford Brookes University Andrey Mokhov Jane Street Shin-Cheng Mu Academia Sinica Nikolaos Papaspyrou National Technical University of Athens Simon Peyton Jones Microsoft Research Cambridge Norman Ramsey Tufts University Exequiel Rivas INRIA Tom Schrijvers (chair) KU Leuven Martin Sulzmann Karlsruhe

[Haskell] Haskell Symposium 2020 -- Call for Papers: Regular track & demos

2020-04-14 Thread Tom Schrijvers
Oxford Brookes University Andrey Mokhov Jane Street Shin-Cheng Mu Academia Sinica Nikolaos Papaspyrou National Technical University of Athens Simon Peyton Jones Microsoft Research Cambridge Norman Ramsey Tufts University Exequiel Rivas INRIA Tom Schrijvers (chair) KU Leuven Martin Sulzmann Karlsruhe

Re: flexible contexts and context reduction

2008-03-27 Thread Tom Schrijvers
in carrying around the superclasses. Now ask your favorite Haskell system to implement this feature :) Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms

RE: flexible contexts and context reduction

2008-03-27 Thread Tom Schrijvers
://www.comp.nus.edu.sg/~sulzmann/publications/wgp06-modulargeneric.ps Nevertheless, I hadn't realised it was possible before, and now I can see it is. I'd be nice to know of people who need or would like to have this feature. Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan

RE: flexible contexts and context reduction

2008-03-27 Thread Tom Schrijvers
, an overlapping type/data family would be needed for encoding this in dictionaries. Cheers, Tom -Original Message- From: Simon Peyton-Jones [mailto:[EMAIL PROTECTED] Sent: 27 March 2008 09:05 To: Sittampalam, Ganesh; 'Tom Schrijvers'; Ganesh Sittampalam Cc: glasgow-haskell-users

Re: Type checker loops with type families, overlapping and undecidable instances

2008-12-04 Thread Tom Schrijvers
for type classes and type families in the checker. -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms/ ___ Glasgow

Re: Does this, and should this type check on GHC 6.10.x ?

2009-06-26 Thread Tom Schrijvers
Expandable (Tuple (Map ((,) t2) ys)) is indeed one that's required to hold in order to make the code well-typed. Do you agree? Yet I see no instance of Expandable for Tuple. So why do you think this constraint should hold anyway? Tom -- Tom Schrijvers Department of Computer Science

Re: type families + GADT = type unsafety?

2007-09-28 Thread Tom Schrijvers
(Simon, does this mean that non-~ discharging will become subject to GADT-style type annotation rules?) No, it does not. No type annotations required in non-GADT-related code, even if equalities are involved. Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan

Re: FDs and confluence

2006-04-12 Thread Tom Schrijvers
. Here it's valid because that constraint becomes identical to the first one. Moreover, very few people will actually have to look at the constraint store, I think. -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail

Re: Haskell' - class aliases

2008-05-02 Thread Tom Schrijvers
of classes is clear... What about multiple parameters? Can A have more parameters than the Ci? Should they be in the same order? Should they overlap? What about instance contexts, like: instance I a = A a where ... (What about functional dependencies?) Tom -- Tom Schrijvers Department

Re: [Haskell-cafe] Stream fusion for Hackage

2007-11-18 Thread Tom Schrijvers
/stream-fusion-0.1.1 As described in the recent paper: Stream Fusion: From Lists to Streams to Nothing at All Duncan Coutts, Roman Leshchinskiy and Don Stewart. ICFP 2007 This is a drop-in replacement for Data.List. Will it eventually replace Data.List in GHC? Tom -- Tom Schrijvers

[Haskell-cafe] SingHaskell 2007, November 28 2007

2007-11-20 Thread Tom Schrijvers
We're pleased to invite you to SingHaskell: What is SingHaskell? Sing(apore)Haskell is a Haskell (and related languages) meeting in Singapore. The meeting is organized by Tom Schrijvers and Martin Sulzmann and will be hosted by the National University of Singapore. Date and location Sing

Re: [Haskell-cafe] more thoughts on Finally tagless

2010-03-08 Thread Tom Schrijvers
Yeah, subject Finally Tagless again, sorry, I'm just not done with it yet. In Olegs haskell implementation he is using classes mainly to model the syntax and instances to use for evaluators / compilers to allow multiple interpretations. I wonder if it'd be possible to do the same without

Re: [Haskell-cafe] Re: Type-Level Naturals Like Prolog?

2006-07-20 Thread Tom Schrijvers
. It's probably good to read a bit about it in a proper reference. Wikipedia's Prolog entry lists a number of tutorials. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED

Re: [Haskell-cafe] Why does Haskell have the if-then-else syntax?

2006-07-27 Thread Tom Schrijvers
this cause a conflict with specialized knowledge the compiler has about if-then-else, e.g. for optimizations? Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED

[Haskell-cafe] Re: Small displeasure with associated type synonyms

2008-03-06 Thread Tom Schrijvers
. We can't have that in a deterministic functional language. Hence the error. Adding a type signature doesn't change the matter. Providing an additional argument, as you propose, resolves the ambiguity. I hope this helps. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U

Re: [Haskell-cafe] Re: Small displeasure with associated type synonyms

2008-03-06 Thread Tom Schrijvers
another point in the design space here. Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms/ ___ Haskell-Cafe

Re: [Haskell-cafe] Re: Small displeasure with associated type synonyms

2008-03-06 Thread Tom Schrijvers
: forall a b . T a = T b = a = b Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms/ ___ Haskell

Re: [Haskell-cafe] Equality constraints in type families

2008-03-11 Thread Tom Schrijvers
? Are they such that F d c ~ F a (c,a) can hold? By the way, for your function, you don't need equations in your type signature. This will do: hyloPara :: Functor (F d) = d - (F d c - c) - (a - F d a) - a - c Cheers, Tom -- Tom Schrijvers

Re: [Haskell-cafe] Equality constraints in type families

2008-03-11 Thread Tom Schrijvers
d) and Functor (F a) in the signature. Which implementation of fmap do you want? Or should they be both the same (i.e. F d ~ F a)? Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED

Re: [Haskell-cafe] Equality constraints in type families

2008-03-12 Thread Tom Schrijvers
them if they are too confusing. Do you think there might be a definition that would satisfy me both Functor instances and equality? Thanks for your pacience, hugo -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e

Re: [Haskell-cafe] Equality constraints in type families

2008-03-19 Thread Tom Schrijvers
can properly focus on this issue and consider different design choices. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms

Re: [Haskell-cafe] Wumpus World

2008-03-28 Thread Tom Schrijvers
not the fastest, just like GCC doesn't generates the fastest code. Who cares? If you want speed, then Yap is the best open Prolog system. http://www.ncc.up.pt/~vsc/Yap/ Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium

Re: [Haskell-cafe] Re: type families and type signatures

2008-04-07 Thread Tom Schrijvers
in the design space. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms/ ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Re: type families and type signatures

2008-04-07 Thread Tom Schrijvers
, Mark Tom Schrijvers wrote: type instance Id Int = Int foo :: Id a - Id a foo = id foo' :: Id a - Id a foo' = foo Is this expected? Yes, unfortunately, this is expected, although it is very unintuitive. This is for the following reason. Huh? This sounds very wrong to me, simply because foo

Re: [Haskell-cafe] Re: type families and type signatures

2008-04-08 Thread Tom Schrijvers
, is it? Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms/ ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Re: type families and type signatures

2008-04-09 Thread Tom Schrijvers
String = .. type instance Id Int= .. .. But in a degenerate case there could be just this one instance: type instance Id x = GADT x which then reduces this example to the GADT case of which you said that is was clearly parametric. Tom -- Tom Schrijvers Department of Computer

[Haskell-cafe] looking for examples of non-full Functional Dependencies

2008-04-16 Thread Tom Schrijvers
| a - b has a non-full functional dependency a - b which does not involve c. Thanks, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms

Re: [Haskell-cafe] looking for examples of non-full Functional Dependencies

2008-04-17 Thread Tom Schrijvers
hackageDB has a substantial sample of code these days, which is handy for questions like this. Thanks, Ross. These examples are perfect! Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL

Re: [Haskell-cafe] looking for examples ofnon-fullFunctional Dependencies

2008-04-17 Thread Tom Schrijvers
strange, because there is no alternative for y (except if you allow overlapping instances and add e.g. an instance C [a] [b] [Int]). Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL

Re: [Haskell-cafe] looking for examples of non-full Functional Dependencies

2008-04-25 Thread Tom Schrijvers
of a closed world. That's contrary to the open world view of regular type classes. So these aren't the intended semantics. Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http

Re: [Haskell-cafe] looking for examples of non-full Functional Dependencies

2008-04-25 Thread Tom Schrijvers
On Fri, 25 Apr 2008, Hans Aberg wrote: On 25 Apr 2008, at 14:20, Tom Schrijvers wrote: Prolog works under the assumption of a closed world. That's contrary to the open world view of regular type classes. So these aren't the intended semantics. By which I gather you mean the interpretation

[Haskell-cafe] university courses on type families/GADTs?

2009-12-01 Thread Tom Schrijvers
Hello Haskell Cafe, I was wondering whether there are any universities that teach about Haskell type families or GADTs? Thanks, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: tom.schrijv

Re: [Haskell-cafe] Restrictions on associated types for classes

2009-12-17 Thread Tom Schrijvers
-- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: tom.schrijv...@cs.kuleuven.be url: http://www.cs.kuleuven.be/~toms/ Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Re: [Haskell-cafe] Code Review: Sudoku solver

2006-04-03 Thread Tom Schrijvers
a strategy language though. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Code Review: Sudoku solver

2006-04-06 Thread Tom Schrijvers
comparing a number of all_different algorithms and additional tricks: http://www.computational-logic.org/iccl/master/lectures/winter05/fcp/fcp/sudoku.pdf Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e

Re: [Haskell-cafe] help with MPTC for type proofs?

2006-05-26 Thread Tom Schrijvers
instances of CommutativePartners can be declared. Support for closed type classes is needed to prevent this. I'm not sure whether there is a way to fully realise requirement 1. AFAIK associated types are no more expressive than FDs. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U

Re: [Haskell-cafe] Re: help with MPTC for type proofs?

2006-05-27 Thread Tom Schrijvers
deriving Show -- This is identical to what Tom Schrijvers wrote class Commutable a b c d | a b c - d, -- 2. a d c - b -- based on 1. + 2. -- But how do we make sure that Commutable a d c b exists whenever -- Commutable a b c d does? very easily: with the help

Re: [Haskell-cafe] Strong version of 'local' for reader monad

2010-12-16 Thread Tom Schrijvers
On Mon, Dec 13, 2010 at 9:30 PM, Brent Yorgey byor...@seas.upenn.eduwrote: Hi all, Today I wanted this function strongLocal :: (MonadReader r1 m1, MonadReader r2 m2) = (r2 - r1) - m1 a - m2 a Of course, after staring at this type for ten seconds I realized that it cannot

Re: [Haskell-cafe] Re: Hmm, what license to use?

2008-10-01 Thread Tom Schrijvers
Don thinking that compiler developer fragmentation doesn't help now the language research is 'done' Language researchers should move to a new language? Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail

Re: [Haskell-cafe] FunDeps vs. Associated Types

2008-12-05 Thread Tom Schrijvers
but not functional dependencies. -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] url: http://www.cs.kuleuven.be/~toms/ ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Type Family Relations

2009-01-04 Thread Tom Schrijvers
___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: tom.schrijv...@cs.kuleuven.be url: http

Re: [Haskell-cafe] Compilling GHC on Vista

2007-04-23 Thread Tom Schrijvers
on a simple C program? I had a similar error, cause by the fact that gcc.exe cannot find cc1.exe, which is in MingW/libexec/gcc/mingw32/3.4.2/. I had to add it to my PATH. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel

Re: [Haskell-cafe] Compilling GHC on Vista

2007-04-23 Thread Tom Schrijvers
On Mon, 23 Apr 2007, Monique Monteiro wrote: Tom, On 4/23/07, Tom Schrijvers [EMAIL PROTECTED] wrote: What does the config.log say? Are you able to run the MingW's gcc compiler yourself on a simple C program? I had a similar error, cause by the fact that gcc.exe cannot find cc1.exe

Re: [Haskell-cafe] Re: Compilling GHC on Vista

2007-04-24 Thread Tom Schrijvers
whether there's already a solution for that in the repository? Tom Cheers, Monique On 4/24/07, Simon Marlow [EMAIL PROTECTED] wrote: Tom Schrijvers wrote: Here's the more complete error message: configure:3321: checking for C compiler default output file name configure:3348: c:/MinGW/bin

Re: [Haskell-cafe] Vanishing polymorphism

2007-05-09 Thread Tom Schrijvers
for it. Cheers, Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Vanishing polymorphism

2007-05-09 Thread Tom Schrijvers
the polymorphism get destroyed? Here fn is bound by a lambda abstraction, and is therefore monomorphic. I can't find anything in the Report about that, This won't be in the Haskell 98 report. I have to enable -fglasgow-exts in GHCi to get this even parsed. Tom -- Tom Schrijvers Department

Re: [Haskell-cafe] ambiguous type variables at MPTC

2007-05-13 Thread Tom Schrijvers
a for which the instance C a b is completely independent of b. There is no ambiguity. Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED] ___ Haskell-Cafe

Re: [Haskell-cafe] hash of a lazy bytestring?

2007-05-13 Thread Tom Schrijvers
... Another solution would be loop fusion: do l - readFile foo len - writeFileAndComputeLength bar l ... A compiler might be able to do that for you. Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16

Re: [Haskell-cafe] Scope of type variables in associated types

2007-05-21 Thread Tom Schrijvers
a, OneStep (OS a)) = TwoStep a type TS a = OS (OS a) which are currently under development. -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: [EMAIL PROTECTED

Re: [Haskell-cafe] Just curios

2007-06-11 Thread Tom Schrijvers
somewhere than ascribing a Hebrew origin for his name. I found this: HASKEL: Hebrew name meaning intellect. Variant, Haskell, exists. in a list name explanations: http://www.smcm.edu/users/saquade/names.html Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven

Re: [Haskell-cafe] Re: To yi or not to yi, is this really the question? A plea for a cooperative, ubiquitous, distributed integrated development system.

2007-06-21 Thread Tom Schrijvers
-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe -- Tom Schrijvers Department of Computer Science K.U. Leuven

[Haskell-cafe] Re: Haskell serialisation, was: To yi or not to yi...

2007-06-21 Thread Tom Schrijvers
On Thu, 21 Jun 2007, Pasqualino 'Titto' Assini wrote: Hi Tom, On Thursday 21 June 2007 08:59:42 Tom Schrijvers wrote: On Thu, 21 Jun 2007, Pasqualino 'Titto' Assini wrote: Thanks for the explanation. But, doesn't this simply mean that the correct signature would be: serialize :: (Int - Int

Re: [Haskell-cafe] Re: Haskell serialisation, was: To yi or not to yi...

2007-06-21 Thread Tom Schrijvers
Tom Schrijvers wrote: I understand that, depending on what the compiler does the result of : do let f = (*) 2 print $ serialise f might differ as, for example, the compiler might have rewritten f as \n - n+n. But, why would that make equational reasoning on serialise not valid? Isn't

Re: [Haskell-cafe] Re: Haskell serialisation, was: To yi or not to yi...

2007-06-21 Thread Tom Schrijvers
On Thursday 21 June 2007, Tom Schrijvers wrote: That wouldn't make a difference. If, from the pure Haskell point of view we can't tell the difference between two expressions that denote the same function, then operations in the IO monad should not be able to do so either. This doesn't make

Re: [Haskell-cafe] Functional dependencies *not* part of the next Haskell standard?

2007-07-13 Thread Tom Schrijvers
| I think the implementation is some 90% complete though, in GHC head. | Certainly you can write many associated types programs already -- the | missing part is finishing off associated type synonyms, iirc. ...and we have a working implementation of that too, thanks to Tom Schrijvers. It's

Re: [Haskell-cafe] Monad transformer to consume a list

2009-04-07 Thread Tom Schrijvers
list? Tom -- Tom Schrijvers Department of Computer Science K.U. Leuven Celestijnenlaan 200A B-3001 Heverlee Belgium tel: +32 16 327544 e-mail: tom.schrijv...@cs.kuleuven.be url: http://www.cs.kuleuven.be/~toms/ ___ Haskell-Cafe mailing list Haskell

[Haskell-cafe] FLOPS 2012: 1st Call for Papers

2011-08-15 Thread Tom Schrijvers
interfaces, Internet applications, XML, databases, formal methods and model checking. The proceedings will be published as an LNCS volume. The proceedings of the previous meeting (FLOPS 2010) were published as LNCS 6009. PC co-Chairs - Tom Schrijvers (Ghent University, Belgium

[Haskell-cafe] FLOPS 2012: 2nd call for papers

2011-11-22 Thread Tom Schrijvers
-- prof. dr. ir. Tom Schrijvers Programming Languages Group Department of Applied Mathematics and Computer Science University of Ghent Krijgslaan 281 S9 9000 Gent Belgium Phone: +32 9 264 4805 http://users.ugent.be/~tschrijv/ ___ Haskell-Cafe mailing

[Haskell-cafe] FLOPS 2012: 2nd call for papers

2011-11-22 Thread Tom Schrijvers
applications, XML, databases, formal methods and model checking. The proceedings will be published as an LNCS volume. The proceedings of the previous meeting (FLOPS 2010) were published as LNCS 6009. PC co-Chairs - Tom Schrijvers (Ghent University, Belgium) - Peter Thiemann

[Haskell-cafe] FLOPS 2012: final call for papers deadline extension

2011-12-05 Thread Tom Schrijvers
user interfaces, Internet applications, XML, databases, formal methods and model checking. The proceedings will be published as an LNCS volume. The proceedings of the previous meeting (FLOPS 2010) were published as LNCS 6009. PC co-Chairs - Tom Schrijvers (Ghent

[Haskell-cafe] PhD position at Ghent University

2011-12-07 Thread Tom Schrijvers
under the direction of Tom Schrijvers. The successful applicant has a master degree in Computer Science or equivalent. Ideally, she/he will also have a strong, documented interest in doing research. Strong problem-solving and programming skills are essential. Prior knowledge of purely functional

[Haskell-cafe] PPDP 2013: Call for Papers

2013-03-15 Thread Tom Schrijvers
Chalmers University of Technology, Sweden Jan Wielemaker Universiteit van Amsterdam, The Netherlands Program Chair Tom Schrijvers Department of Applied Mathematics and Computer Science Ghent University 9000 Gent, Belgium General Chair Ricardo Pena

[Haskell-cafe] PPDP 2013: 2nd Call for Papers

2013-05-07 Thread Tom Schrijvers
University of Porto, Portugal Torsten Schaub University Potsdam, Germany Tom Schrijvers Ghent University, Belgium Martin SulzmannHochschule Karlsruhe, Germany Wouter Swierstra Universiteit Utrecht, The Netherlands Tarmo Uustalu Institute

[Haskell-cafe] PPDP'13: Last call for papers

2013-06-06 Thread Tom Schrijvers
University Potsdam, Germany Tom Schrijvers Ghent University, Belgium Martin SulzmannHochschule Karlsruhe, Germany Wouter Swierstra Universiteit Utrecht, The Netherlands Tarmo Uustalu Institute of Cybernetics, Estonia Janis Voigtlaender

Re: Equality constraints (~): type-theory behind them

2018-12-10 Thread Tom Schrijvers
wrote a term of type `a` in >> > a place where `b` was wanted, the compiler would either fail to see your >> > `TypeCast a b`, or unify the two too eagerly, then infer an overall type >> > that wasn't general enough. >> > >> > (For that reason, the instan