Bugs item #954378, was opened at 2004-05-15 02:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=108032aid=954378group_id=8032
Category: libraries/unix
Group: 6.2
Status: Open
Resolution:
In local.glasgow-haskell-bugs, you wrote:
Summary: getFileStatus does not include the file name in IO-Error
Hm, it looks like none of the functions in there return a hint as to which
argument caused the error. All of them should probably include filenames etc
into exceptions.
Volker
--
Volker
A wise man once said, release early and release often. We're obviously not
very wise... ;)
===
Announcing HaRP 0.1
===
HaRP is a Haskell extension that extends the normal pattern matching
facility with the power of regular expressions. This
This looks very interesting! I sometimes wish Haskell had more powerful
binding facilities, so that things like this don't need to be extensions
to the language. (But I'm not sure exactly what I'm wishing for...)
On Sat, May 15, 2004 at 12:08:53PM +, Niklas Broberg wrote:
Introducing
== hs-plugins-0.09.2, dynamically loaded plugins in Haskell ==
Release early, release often is the way to go.
This is the first src release of hs-plugins, a library for
compiling and loading Haskell plugins in Haskell.
http://www.cse.unsw.edu.au/~dons/hs-plugins/
The library
What about
foo [/ (/ 2 (/ a _ /)* 3 /)* /] = a
? What is the type of a here? I think it should be [[Int]].
Not quite, the type of a will be [Int].
The only context dependency of variable types is the difference between
linear and non-linear contexts. In linear context, variables have the types
cpphs-0.2
-
Cpphs is a re-implementation (in Haskell) of the C pre-processor.
Version 0.1 dealt only with conditional compilation (#if and friends)
and file inclusion (#include). Version 0.2 now also implements the
rest of cpp's
On Sat, May 15, 2004 at 04:42:03PM +, Niklas Broberg wrote:
In non-linear context, the
type is a list of what it would otherwise be, regardless of what and how
many enclosing non-linear regular pattern operators.
So I guess that in
foo [/ a? 2 b /] = (a,b)
the type of a is
Hello,
take the following module:
module InfiniteList where
import Prelude hiding (repeat)
data InfiniteList e = InfiniteList e (InfiniteList e)
{-|
Essentially the same as 'Prelude.repeat'.
-}
repeat :: e - InfiniteList e
repeat e
When I compile my haskell program (on a linux machine) with GHC and send it to
a colleague he can't run it because he has a somewhat older version of libc.
Is there a GHC switch that I have missed that enables you to statically link
the parts of libc that is used by the haskell program?
On Sat, 2004-05-15 at 16:08, Per Larsson wrote:
When I compile my haskell program (on a linux machine) with GHC and send it to
a colleague he can't run it because he has a somewhat older version of libc.
Is there a GHC switch that I have missed that enables you to statically link
the parts
Per Larsson wrote:
[...] Is there a GHC switch that I have missed that enables you to statically link
the parts of libc that is used by the haskell program? [...]
Passing -static to the GNU linker results in a, well, statically linked program.
:-)
Using -optl -static with GHC does what you want,
Thanks Duncan and Sven for your helpful answers.
Per Larsson
P.S Now everything seems to work, except that I get the compiler message:
/usr/local/lib/ghc-6.2/libHSunix.a(User__17.o)(.text+0x160): In function
'SystemziPosixziUser_getUserEntryForName_entry':
: Using 'getpwnam_r' in
We have all the machinery available. See:
http://www.cs.uu.nl/groups/ST/Center/SyntaxMacros
It will be part of the UtrechtHaskellCompiler (UHC), that is being
constructed with our toolset, and which recently strated to produce
running code. You get the syntax macros almost for free if you build
14 matches
Mail list logo