some links broken in 6.8.1 documentation

2007-11-04 Thread Daniil Elovkov
hose links being broken. Thank you -- Daniil Elovkov ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: some links broken in 6.8.1 documentation

2007-11-12 Thread Daniil Elovkov
Hello Ian 2007/11/10, Ian Lynagh <[EMAIL PROTECTED]>: > > Hi Daniil, > > On Sun, Nov 04, 2007 at 03:49:54PM +0300, Daniil Elovkov wrote: > > > > A quick look at the 6.8.1 user's guide reveals some broken links: > > > > 1) > > Obtaining code

Re: Rank-2 polymorphism and pattern matching

2007-12-29 Thread Daniil Elovkov
a function isn, which has (implicitly) Bool inside the forall context to a forall value. -- Daniil Elovkov ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

[EMAIL PROTECTED]

2008-01-01 Thread Daniil Elovkov
Привет Лаура! С Новым Годом тебя и всю твою семью! Мама говорит тебе там мало солнца. День начал удлиняться. Пусть тебе будет светло и тепло. Мы тебе желаем здоровья, интересных приятных событий, поездок, дел. Пусть Оке и дети будут здоровы, удчачливы, всем довольны и тебя радуют! Gott ny

Was wrong address

2008-01-01 Thread Daniil Elovkov
Erm, sorry for the spam. I failed to manage my email program :) Happy New Year everybody. On Tue, 01 Jan 2008 14:24:15 +0300, Daniil Elovkov <[EMAIL PROTECTED]> wrote: Привет Лаура! ... ___ Glasgow-haskell-users mailing list Glasgow-haskell

problems running ghc-6.8.2 on solaris 10, sparc

2008-08-15 Thread Daniil Elovkov
o_fork. Also, librt which was linked in was the one lying close to where gcc is installed. Apart from that, there is also librt.so in /lib. I thought, maybe the wrong librt was used and said -optl -L/lib to link against the one in /lib. No complaints, but the resulting binary segfaults. Does anybod

Re: problems running ghc-6.8.2 on solaris 10, sparc

2008-08-15 Thread Daniil Elovkov
fact gcc uses a gnu linker, i.e. my gcc was > configured: > --with-gnu-as --with-as=/usr/local/bin/gnu-as > --with-gnu-ld --with-ld=/usr/local/bin/gnu-ld > > My build.mk file for building ghc contains: > > SRC_HC_OPTS += -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc >

Re: Type classes in GADTs

2008-10-30 Thread Daniil Elovkov
of CAOp hasn't changed. That doesn't look good. Not all members of CAOp may be exported from a module, that would have to be taken into account as well, probably. In your example, why not just do traditionalEvidenceOfEq :: Eq a => D a -> Bool -- Daniil Elovkov

Re: GHC 6.10.1 type puzzler

2008-11-19 Thread Daniil Elovkov
Dave Bayer wrote: Here is an example illustrating a type problem I've having with GHC 6.10.1: module Main where newtype Box a = B a make :: a -> Box a make x = B x val :: Box a -> a val (B x) = x test1 :: Box a -> a -> [a] test1 box x = go box x where go :: Box a -> a -> [a] go b y =

GHCi debugger status

2008-11-21 Thread Daniil Elovkov
27;s ADT). Its real type (when in scope) is [t]. I ask 'length prev' and get 0 :) So, what is your impression of the debugger? -- Daniil Elovkov ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: GHCi debugger status

2008-11-24 Thread Daniil Elovkov
Hello I think apart from some other notes the concern here, as started by Peter when he joined the thread, can be concisely summarised like this: it would be good if the set of bound variables were equal to the set of variables syntactically in scope Apparently, Simon has already explained th

Re: GHCi debugger status

2008-11-24 Thread Daniil Elovkov
Peter Hercek wrote: Daniil Elovkov wrote: A refinement of :tracelocal could be :tracedirect (or something) that would save the history not anywhere within the given function but only within parents, so to say. For example, This looks like what I thought of as searching for values in dynamic

FFI imported function names

2008-12-24 Thread Daniil Elovkov
I understand) affect this. The only difference is that in the case of mysql the header file itself where functions are described marks it STDCALL. Is that the reason? Also I changed ffi import line from "hsmysql.h func" to just "func", to no avail.

Re: FFI imported function names

2008-12-24 Thread Daniil Elovkov
hes for dll and complains if it's not found. Adding lib exlpicitly on the cmd line doesn't seem to have any effect. Thanks 2008/12/24 Daniil Elovkov : > Hello > > How is decided whether the name of imported function gets the ending > of the form @4 in ghc? > > I'm h

building HSQL MySQL on windows (Was: FFI imported function names)

2008-12-24 Thread Daniil Elovkov
e.org/mysql_win.html It worked perfectly for me. Of course, with some cabal specifics, which is obviously not described in the above page. The solution was to create a def file listing the names which could not be resolved and creating a .a file based on the dll and this def file. 2008/12/24 Daniil El

3 questions regarding profiling in ghc

2009-11-12 Thread Daniil Elovkov
he rest of the picture is less informative than it could be. 3) Isn't it possible to have -p profiling data of the interrupted (ctrl-c) program? Thanks a lot! -- Daniil Elovkov ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell

Re: 3 questions regarding profiling in ghc

2009-11-13 Thread Daniil Elovkov
p://hackage.haskell.org/packages/archive/happstack-state/0.3.4/doc/html/src/Happstack-State-Control.html#waitForTermination (Pardon the long link.) My main routine spins off threads to do all the work, and the main thread waits on waitForTermination then shuts down. Of course, catching ctrl