Thanks,
I've managed to make yi. However when I try to make an interface:
$ make yi-vty
make complains: ... setup: cannot satisfy dependency filepath=1.0 ...
Where can I find a filepath=1.0? The one I have from Neil Mitchell is
version 0.11.
regards,
Bas van Dijk
Is the full source of Yi suitable for building on non-linux platforms
(ie OpenBSD) (going to be) available?
Thanks,
Dave Feustel
http://RepublicBroadcasting.org - Because You CAN Handle The Truth!
___
Haskell-Cafe mailing list
Where can I find a filepath=1.0? The one I have from Neil Mitchell is
version 0.11.
You want filepath from http://darcs.haskell.org/packages/filepath/
Cheers,
JP.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
| 6. The inliner is a bit too greedy. Removing the slow-path code from
|singleton doesn't help because popSingleton is only used once; but
|if I explicitly {-# NOINLINE popSingleton #-}, the code for
|singleton itself becomes much smaller, and inlinable (15% perf
|gain). Plus
dfeustel:
Is the full source of Yi suitable for building on non-linux platforms
(ie OpenBSD) (going to be) available?
Yes, it is *always* available via darcs. I use yi on openbsd too :-)
See here,
http://www.cse.unsw.edu.au/~dons/yi.html
-- Don
Hello everybody!
Can me somebody say how I can call a function by string? Thus I want to
have a function that has as argument a string (name of a function to
call) and then tries to call that function, a kind of:
functionCall :: String - [String] - RetVal
functionCall functionName arguments =
pvolgger:
Hello everybody!
Can me somebody say how I can call a function by string? Thus I want to
have a function that has as argument a string (name of a function to
call) and then tries to call that function, a kind of:
functionCall :: String - [String] - RetVal
functionCall
In general, you can't do that. You can only do it if you restrict
the functions that can be called somehow, e.g., by having a list of
callable functions and their names.
Why do you want to do this? Perhaps there is a more Haskelly
solution to your problem.
-- Lennart
On Apr 8,
On Apr 8, 2007, at 2:03 , Magnus Henoch wrote:
I'm hacking a library for writing XMPP clients, and just decided that
my work is good enough to call it version 0.0.1. Find source and
documentation here:
http://www.dtek.chalmers.se/~henoch/text/hsxmpp.html
It contains a werewolf bot as an
Well, the Haskell files are not the problem, they don't have to be built
automatically. The point is that I want to call functions in a Haskell
function if I get their names as strings. Isn't there any possibilty to
do that? Eventually the interpreter reads also the console in to execute
the
Hello All,
I'd like to announce the availability of Emping, a utility that reads a
table in a csv format that can be generated from Open Office Calc,
derives all shortest rules for a selected attribute, and writes them to
a .csv file that can be read by OO Calc. See
setup: Unrecognised flags: --disable-haddock-use-packages
make[1]: *** [.setup-config] Error 1
make[1]: Leaving directory `/home/dom/yi/yi/packages/yi-vty'
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Sun, Apr 08, 2007 at 03:26:25PM +0200, Philipp Volgger wrote:
Well, the Haskell files are not the problem, they don't have to be built
automatically. The point is that I want to call functions in a Haskell
function if I get their names as strings. Isn't there any possibilty to
do that?
On 4/8/07, Jean-Philippe Bernardy [EMAIL PROTECTED] wrote:
You want filepath from http://darcs.haskell.org/packages/filepath/
Thanks, I got it working now.
Bas van Dijk
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Alfonso Acosta wrote:
I have a type problem in my code which I dont know how to solve
data HDSignal a = HDSignal
class HDPrimType a where
class PortIndex a where
class SourcePort s where
-- Plug an external signal to the port
plugSig :: (HDPrimType a, PortIndex ix) =ix - s -(HDSignal
Newbie's question: I want to ls the filenames of a directory. The program in
C is something like:
#include direnet.h
int main(){
DIR *dp;
struct dirent *dirp;
dp = opendir(/);
while((dirp = readdir(dp)) != NULL)
printf(%s\n, dirp-d_name);
closedir(dp);
}
and I write that
Albert Lee on 2007-04-09 10:46:14 +0800:
I want to ls the filenames of a directory.
[...]
and I write that in haskell:
-
import System.Posix
import System.IO
main = do
dp - openDirStream /
df - readDirStream dp
putStrLn df
closeDirStream dp
--
It
I've minimized my problem to a short test program I pasted at
http://hpaste.org/1314
The problem seems to be in forcing strict evaluation at just the right
place, but all my attempts in doing so have causes the program to stop
streaming and start consuming memory again - this time in un-emitted
Thanks for your reply. and I have done it by:
import System.IO
import System.Posix
import System.Directory
show_current_dir :: IO ()
show_current_dir = do
curr_dir - getWorkingDirectory
putStrLn (Current Working Directory: ++ curr_dir)
ls_dir1 :: String - IO [()]
ls_dir1 fp = do
files -
-- Forwarded Message --
setup: Unrecognised flags: --disable-haddock-use-packages
make[1]: *** [.setup-config] Error 1
make[1]: Leaving directory `/home/dom/yi/yi/packages/yi-vty'
---
[EMAIL PROTECTED]:~/yi/yi make emacs
20 matches
Mail list logo