On Wed, Mar 17, 2004 at 05:46:25PM +1030, Peter Pudney wrote:
> I have a microcontroller connected to the COM2 port on a Windows machine, and
> want my Haskell program to interact with it. My Haskell program is working
> nicely on my Mac, with interaction using stdin and stdout, but I am not
> fami
hi ,
this is an interesting discussion and i agree that in general instances
of Eq should be "equality", but what do people mean by "real equality"?
probably the most reasonable interpretation is some sort of
observational equivalance, i.e. if two things are equal we should always
be able to replac
GHC does context reduction as late as possible, so that when overlapping
instances are involved the commitment is made where maximum information
is available.
Simon
| -Original Message-
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jurriaan Hage
| Sent: 17 March 2004 15
Hello,
Given the fact that Haskell 98 demands that class constraints in an
explicit type are
in a normal form (either a variable, or a type variable applied to a
list of types), it struck me
that in the following (not very useful) program ghci yields a type
which is not of that form.
class X a
On Mar 10, 2004, at 8:56 AM, [EMAIL PROTECTED] wrote:
Example (readers familiar with the problem may
skip this):
Dear Mr.Robert Smith.
This structure is represented by the XML Schema
How would you represent this in Haskell?
A first idea may be to store the enclosing strings:
data Salutation
I have a microcontroller connected to the COM2 port on a Windows machine, and
want my Haskell program to interact with it. My Haskell program is working
nicely on my Mac, with interaction using stdin and stdout, but I am not
familiar with Windows and a quick Google search did not give me any inform
On a related note, I recently implemented a System.Process library on
Unix. Source code attached. The Windows implementation should be
relatively straightforward. Porting it to Hugs will require
System.Posix.forkProcess, but I don't see any great difficulties there.
One warning: if you want t
On Wed, Mar 17, 2004 at 11:12:23AM -, José Vilaça wrote:
> I'm searching for more detailed information about
> Language.Haskell.Syntax than the one provided by the Haddock
> documentation of the Hierarchical Libraries.
Unfortunately, that's all there is. The docs are sparse, but the types
do
I'm searching for more detailed information about Language.Haskell.Syntax than the one
provided by the Haddock documentation of the Hierarchical Libraries.
I'm doing a tool that pick up code represented in the Haskell Syntax and i need to
know the semantics of a lot of Construtors of the Haske
Graham Klyne wrote:
I'm trying to check this out with some software that uses a previous
version (HXml toolbox), and I get the following error from Hugs:
[[
Reading file "..\http\Browser.hs":
Type checking
ERROR "..\http\Browser.hs":865 - Type error in application
*** Expression : ioAction $ o
In keeping with recent announcements regarding database libraries,
Oleg Kiselyov and I present a library to interface to the Oracle DBMS.
This library is a low-level interface for issuing SQL commands,
similar to HSQL. It uses the Oracle Call Interface, a low-level C library
provided with most Orac
11 matches
Mail list logo