Re: Proposal process status

2016-07-21 Thread Yuras Shumovich
On Thu, 2016-07-21 at 14:38 -0400, Richard Eisenberg wrote: > > > > On Jul 21, 2016, at 2:25 PM, Yuras Shumovich <shumovi...@gmail.com> > > wrote: > > > > It is hopeless. Haskell2020 will not include TemplateHaskell, > > GADTs, > > etc. > >

Re: Proposal process status

2016-07-21 Thread Yuras Shumovich
On Thu, 2016-07-21 at 13:25 -0400, Richard Eisenberg wrote: > > > > On Jul 21, 2016, at 11:29 AM, Yuras Shumovich <shumovi...@gmail.com > > > wrote: > > > > Unfortunately Haskell *is* implementation-defined language. You > > can't > > compile any n

Re: Proposal process status

2016-07-21 Thread Yuras Shumovich
On Thu, 2016-07-21 at 10:32 -0400, Gershom B wrote: > On July 21, 2016 at 8:51:15 AM, Yuras Shumovich (shumovi...@gmail.com > ) wrote: > > > > I think it is what the process should change. It makes sense to > > have > > two committees only if we have mul

Re: Proposal process status

2016-07-21 Thread Yuras Shumovich
On Wed, 2016-07-20 at 18:37 +0200, Ben Gamari wrote: > Yuras Shumovich <shumovi...@gmail.com> writes: > > > Looks like reddit is a wrong place, so I'm replicating my comment > > here: > > > Thanks for your comments Yuras! > > > >   * Do you fee

Re: Proposal process status

2016-07-20 Thread Yuras Shumovich
Looks like reddit is a wrong place, so I'm replicating my comment here: On Wed, 2016-07-20 at 11:36 +0200, Ben Gamari wrote: > Hello everyone, > > As you hopefully know, a few weeks ago we proposed a new process [1] > for > collecting, discussing, and deciding upon changes to GHC and its >

Re: [Haskell-cafe] MRP, 3-year-support-window, and the non-requirement of CPP

2015-10-11 Thread Yuras Shumovich
On Sat, 2015-10-10 at 16:39 -0400, Edward Kmett wrote: > On Sat, Oct 10, 2015 at 4:12 PM, Yuras Shumovich < > shumovi...@gmail.com> > wrote: > > > There is no reason to include `return` into the next standard. That > > is > > true. > > > Nobod

Re: -staticlib flag for building standalone static libraries producing very large libraries

2015-03-07 Thread Yuras Shumovich
On Sat, 2015-03-07 at 22:18 +1100, Sean Seefried wrote: Hi all, Can anyone explain the following problem I'm having? I'm currently writing a game in Haskell. When I produce a plain old executable (for local testing) it's about 23M. However, when I create a static lib using the -staticlib

Re: confusing type error

2014-12-04 Thread Yuras Shumovich
It seems to be an instance of https://ghc.haskell.org/trac/ghc/ticket/7869 But it is fixed (both in HEAD and 7.8). Probably the fix is partial? On Thu, 2014-12-04 at 14:53 -0500, Richard Eisenberg wrote: This seems straightforwardly to be a bug, to me. HEAD gives the same behavior you report

Re: GHC 7.4.2 on Ubuntu Trusty

2014-10-22 Thread Yuras Shumovich
On Wed, 2014-10-22 at 13:48 +0300, Yitzchak Gale wrote: In order support some older software that we released, we need to get a working GHC 7.4.2 on Ubuntu Trusty. We currently have GHC 7.8.3. The binary tarball for GHC 7.4.2 does not install on Trusty due to multiple incompatibilities. For

Re: Dependencies missing when building ghc.

2014-10-13 Thread Yuras Shumovich
Hello, It is recommended to checkout 7.8 in special way, see https://ghc.haskell.org/trac/ghc/wiki/Building/GettingTheSources#checkout-old-branch That is because repo structure was changed after 7.8 Thanks, Yuras 13 Окт 2014 г. 4:03 пользователь Magicloud Magiclouds

-optl behavior in ghc-7.8.1

2014-04-10 Thread Yuras Shumovich
Hi, I found that -optl behavior was changed in ghc-7.8.1 ghc-7.6.3 passes additional linker options after all the haskell object files, while ghc-7.8.1 does the opposite. $ /opt/ghc-7.6.3/bin/ghc --make main.hs -optl=hello -v ... '/usr/bin/gcc' '-fno-stack-protector' '-Wl,--hash-size=31'

Re: -optl behavior in ghc-7.8.1

2014-04-10 Thread Yuras Shumovich
On Thu, 2014-04-10 at 11:54 -0400, Brandon Allbery wrote: On Thu, Apr 10, 2014 at 11:44 AM, Yuras Shumovich shumovi...@gmail.comwrote: ghc-7.6.3 passes additional linker options after all the haskell object files, while ghc-7.8.1 does the opposite. (...) Is it intentional change

Re: -optl behavior in ghc-7.8.1

2014-04-10 Thread Yuras Shumovich
On Thu, 2014-04-10 at 12:13 -0400, Brandon Allbery wrote: On Thu, Apr 10, 2014 at 12:02 PM, Yuras Shumovich shumovi...@gmail.comwrote: On Thu, 2014-04-10 at 11:54 -0400, Brandon Allbery wrote: On Thu, Apr 10, 2014 at 11:44 AM, Yuras Shumovich shumovi...@gmail.com wrote

Re: -optl behavior in ghc-7.8.1

2014-04-10 Thread Yuras Shumovich
On Thu, 2014-04-10 at 18:49 +0200, Karel Gardas wrote: On 04/10/14 06:39 PM, Yuras Shumovich wrote: ...and other linker options must come after, like in my case. So what? Are there any ticket where people complain about the old behavior? I'm not advocating any specific behavior, I'm just

[Haskell-cafe] Haskellers in Minsk, Belarus?

2013-10-05 Thread Yuras Shumovich
Hi, I just read an article (sorry, it is in russian: http://habrahabr.ru/post/196454/ ). The idea I found interesting: even in big citied developers complain that nothing happens at their location, but when you try to make an event -- only few of them want to participate. I never participate in

Re: [Haskell-cafe] enumerators: exception that can't be catched

2013-08-29 Thread Yuras Shumovich
an exception on client disconnect. On Tue, Aug 27, 2013 at 10:28 AM, Yuras Shumovich shumovi...@gmail.com wrote: Hello, I'm debugging an issue in websockets package, https://github.com/jaspervdj/websockets/issues/42 I'm not familiar

Re: [Haskell-cafe] enumerators: exception that can't be catched

2013-08-29 Thread Yuras Shumovich
Left immediately. So, throwError in enumerator can't be caught. Is it correct? Then it seems to be a design bug in websockets -- it is not possible to know from the WebSockets monad that client closed connection. Thanks, Yuras On Thu, 2013-08-29 at 14:04 +0300, Yuras Shumovich wrote: Hi, Thank

[Haskell-cafe] enumerators: exception that can't be catched

2013-08-27 Thread Yuras Shumovich
Hello, I'm debugging an issue in websockets package, https://github.com/jaspervdj/websockets/issues/42 I'm not familiar with enumerator package (websockets are based on it), so I'm looking for help. The exception is throws inside enumSocket enumerator using throwError (

Re: [Haskell-cafe] Prolog-style patterns

2013-04-08 Thread Yuras Shumovich
Hi, On Mon, 2013-04-08 at 07:06 -0700, Conal Elliott wrote: What you're suggesting is called non-linear patterns, and it's a perfectly sensible, well-defined feature in a language with pattern-matching. As you point out, non-linearity allows for more direct succinct programming. I've often

[Haskell-cafe] ANN: pdf-toolbox

2013-03-23 Thread Yuras Shumovich
Hello, I have uploaded the first release of my pdf toolbox, a collection of tools for processing PDF files. It supports both parsing and generating of pdf files. It consists of two libraries: - core ( http://hackage.haskell.org/package/pdf-toolbox-core ) contains low level tools. - document

Re: [Haskell-cafe] websockets client

2013-02-21 Thread Yuras Shumovich
Hi, websockets package has basic support for client-side applications: http://hackage.haskell.org/packages/archive/websockets/0.7.2.1/doc/html/Network-WebSockets.html#g:12 AFAIK it is the only available option right now (except implementing it yourself.) Thanks, Yuras On Thu, 2013-02-21 at

Re: [Haskell-cafe] multi-thread and lazy evaluation

2012-12-25 Thread Yuras Shumovich
://hackage.haskell.org/trac/ghc/ticket/7528) Timothy -- Původní zpráva -- Od: Yuras Shumovich shumovi...@gmail.com(mailto:shumovi...@gmail.com) Datum: 24. 12. 2012 Předmět: Re: [Haskell-cafe] multi-thread and lazy evaluation On Mon, 2012-12-24 at 16:16 +0100, timothyho

Re: [Haskell-cafe] multi-thread and lazy evaluation

2012-12-24 Thread Yuras Shumovich
On Mon, 2012-12-24 at 16:16 +0100, timothyho...@seznam.cz wrote: The real question is, does this mean that GHC is stopping the world every time it puts an MVar? No, GHC rts only locks the MVar itself. See here: http://hackage.haskell.org/trac/ghc/browser/rts/PrimOps.cmm#L1358 Yuras

Re: How to start with GHC development?

2012-12-13 Thread Yuras Shumovich
On Thu, 2012-12-13 at 09:41 +, Chris Nicholls wrote: What's the best way to get started? Bug fixes? Writing a toy plugin? I don't have a huge amount of time to offer, but I would like to learn to help! GHC bug sweep is the way I'm trying to start with:

Re: How to use C-land variable from Cmm-land?

2012-12-10 Thread Yuras Shumovich
On Mon, 2012-12-10 at 10:58 +, Simon Marlow wrote: On 08/12/12 23:12, Yuras Shumovich wrote: I tried to hack stg_putMVarzh directly: if (enabled_capabilities == 1) { info = GET_INFO(mvar); } else { (ptr info) = ccall lockClosure(mvar ptr

How to use C-land variable from Cmm-land?

2012-12-08 Thread Yuras Shumovich
Hi, I'm working on that issue as an exercise/playground while studding the GHC internals: http://hackage.haskell.org/trac/ghc/ticket/693 First I tried just to replace ccall lockClosure(mvar ptr) with GET_INFO(mvar) in stg_takeMVarzh and stg_putMVarzh and got 60% speedup (see the test case at the

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Yuras Shumovich
On Sat, 2012-10-06 at 17:02 +0200, José Lopes wrote: Hello, Hello I'm trying to understand Cabal dependencies. Why does the following situation happen? xmobar-0.15 depends on mtl-2.0.* and needs parsec All packages that will be broken, depends on parsec. But parsec is compiled with

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Yuras Shumovich
On Sat, 2012-10-06 at 18:25 +0200, José Lopes wrote: OK. But, wouldn't it be possible for xmobar to use mtl-2.0.1.0 and for parsec to use mtl-2.1.1, while xmobar would use this parsec version? In this case, I am assuming that mtl-2.0.1.0 and mtl-2.1.1 are considered two different

Re: [Haskell-cafe] Cabal dependencies

2012-10-06 Thread Yuras Shumovich
are lost. Warning: it may break your development environment, so make sure you know what you are doing. Better solution could be sandbox tools like cabal-dev. They alloy you to setup development environment per project. Thanks, José On 06-10-2012 19:08, Yuras Shumovich wrote: On Sat, 2012-10

[Haskell-cafe] ANNOUNCE: bindings-gobject-0.4

2012-09-29 Thread Yuras Shumovich
Hello, I uploaded new release of bindings-gobject, low level binding to gobject library: http://hackage.haskell.org/package/bindings-gobject-0.4 (I maintain it now) Now it exposes internals of GObject and GObjectClass, so it is possible to create custom GObject subclasses from haskell land.

Re: [Haskell-cafe] How do I marshall a pointer over SendMessage LPARAM or WPARAM?

2012-07-18 Thread Yuras Shumovich
On Wed, 2012-07-18 at 18:22 +0200, Simon Peter Nicholls wrote: Some sending code: Foreign.C.String.withCWString frustrator $ \s - do let wParam = System.Win32.Types.castPtrToUINT s :: System.Win32.Types.WPARAM Graphics.Win32.sendMessage wnd

Re: [Haskell-cafe] ANNOUNCE : Leksah 0.12

2012-03-11 Thread Yuras Shumovich
Hi, I can confirm the issue with gtksourceview2.h Also I have the next error with leksah-server: src/IDE/Core/CTypes.hs:548:10: Duplicate instance declarations: instance NFData Version -- Defined at src/IDE/Core/CTypes.hs:548:10-23 instance NFData Version -- Defined in

Re: [Haskell-cafe] ghc HEAD

2010-09-07 Thread Yuras Shumovich
2010/9/7 Johannes Waldmann waldm...@imn.htwk-leipzig.de: I was compiling  ghc-6.13.20100831 from source (*) and then compiling repa-examples with that, and the generated executable says (when called with +RTS -N2):  Most RTS options are disabled. Link with -rtsopts to enable them. Where?

[Haskell-cafe] autocomplete using hoogle

2010-09-05 Thread Yuras Shumovich
Hello, Just want to share some results of my weekend hacking. It is clear that haskell type checker can help to build a list of suggestions for autocomplete (very old idea). I tried to create a very basic prototype to play with the idea. The approach I used: The task can be divided into the

Re: [Haskell-cafe] ANNOUNCE: Haddock version 2.8.0

2010-09-02 Thread Yuras Shumovich
2010/9/2 Mark Lentczner ma...@glyphic.com: On Sep 2, 2010, at 5:00 AM, David Waern wrote: If you'd like to see the new look in action, I've generated some pages for a few packages here:        http://www.ozonehouse.com/mark/snap-xhtml/ Is it possible to switch back from frame version to non

Re: [Haskell-cafe] Slightly humorous: Headhunters toolbox (example for Germany)

2010-08-27 Thread Yuras Shumovich
2010/8/27 sylvain sylvain.na...@googlemail.com: Hi, the results given by the same research at the world level is worrisome: the interest in Haskell is steadily declining since 2004. Why was Haskell not successful conquering the hearts? Is it doomed to fail or is there still a chance?

Re: [Haskell-cafe] Is there a pure Haskell gzip/bzip compression module out there?

2010-08-12 Thread Yuras Shumovich
2010/8/12 Max Bolingbroke batterseapo...@hotmail.com: On 12 August 2010 12:10, C K Kashyap ckkash...@gmail.com wrote: http://hackage.haskell.org/packages/archive/zlib/0.4.0.2/doc/html/Codec-Compression-GZip.html It is not pure haskell implementation. As I know there are no pure implementation.

Re: [Haskell-cafe] subversion with haskell

2010-08-06 Thread Yuras Shumovich
Hi, Try the next: % env EXTRA_CPPFLAGS=-I/usr/local/include/subversion-1 \ EXTRA_LDFLAGS=-L/usr/local/lib \ runhaskell Setup.hs configure % runhaskell Setup.hs build % runhaskell Setup.hs install (and read the installation instructions included into the tarball :)

Re: [Haskell-cafe] subversion with haskell

2010-08-05 Thread Yuras Shumovich
Hi, As reported by the configure script, file svn_error.h is missing. It presence in latest svn api (http://subversion.apache.org/docs/api/latest/svn__error_8h.html) It can be installed in some unusual location, you can try find / -name svn_error.h If you are using debian based system, you can

Re: [Haskell-cafe] Re: Fix plugins package.

2010-07-10 Thread Yuras Shumovich
src/System/Plugins/Process.hs:59:4:     Warning: A do-notation statement discarded a result of type GHC.Conc.ThreadId.              Suppress this warning by saying _ - forkIO                                                      (()                                                        

Re: [Haskell-cafe] Re: Fix plugins package.

2010-07-10 Thread Yuras Shumovich
Another error : -- error start -- Preprocessing library plugins-1.4.1... Building plugins-1.4.1... [ 7 of 15] Compiling System.Plugins.Env ( src/System/Plugins/Env.hs, dist/build/System/Plugins/Env.o )

Re: [Haskell-cafe] Re: Fix plugins package.

2010-07-10 Thread Yuras Shumovich
I got another error: -- error start -- [ 8 of 15] Compiling System.MkTemp    ( src/System/MkTemp.hs, dist/build/System/MkTemp.o ) src/System/MkTemp.hs:214:26:    Couldn't match expected type `IOError'           against inferred type

Re: [Haskell-cafe] Occurs check error, help!

2010-03-20 Thread Yuras Shumovich
Hi, shuffle :: int - [a] - [a] shuffle i [cards] = ... So 'cards' is of type 'a' : cards :: a ... = (cards!!i) So 'cards' is a list of something: cards :: [b] ... = (cards!!i) + ... (+) :: b - b - b, the result of the 'shuffle' should be of type [a], so b :: [a], cards :: [[a]]

Re: [Haskell-cafe] Occurs check error, help!

2010-03-20 Thread Yuras Shumovich
2010/3/20 boblettoj bobletto...@msn.com: Ah yes, that makes sense now, however i have another problem, here is the updated code: --function used to shuffle cards --list equals random member of array plus the rest of the array --i is randomly generated from range of length equal to that of

Re: [Haskell-cafe] Binaries using shared libraries with cabal-install

2010-03-15 Thread Yuras Shumovich
Hi, As I know it doesn't work for executables, see http://hackage.haskell.org/trac/hackage/ticket/600 2010/3/15 Mathijs Kwik bluescreen...@gmail.com: Hi all, I'm using cabal-install 0.8.0 on ghc 6.12.1 on linux I switched on shared library support on cabal. Does this enable -dynamic and

Re: [Haskell-cafe] grapefruit on windows or osX

2010-02-21 Thread Yuras Shumovich
If you are using binary gtk2hs installer for windows, then you have to install the same ghc version the installer was built for. As I know there are no gtk2hs build for ghc-6.10.4. You can build it manually (using msys), but it is complicated task. 2010/2/21 gladst...@gladstein.com: I'm unable

Re: [Haskell-cafe] How to find unused exported symbols?

2010-02-15 Thread Yuras Shumovich
Hmm... It looks like a useful tool to implement. (Of course it does not make sense for libraries, only for executables) It can be easily implemented using haskell-src-exts package. 2010/2/15 John D. Ramsdell ramsde...@gmail.com: I would like to find symbols exported from each module in a program

Re: [Haskell-cafe] running HGL on OSX

2010-02-14 Thread Yuras Shumovich
Loading package X11-1.5.0.0 ... can't load .so/.DLL for: X11 (dlopen(libX11.dylib, 9): image not found) try DYLD_LIBRARY_PATH=/usr/X11R6/lib ghci graphics.hs http://hackage.haskell.org/trac/ghc/ticket/1019 ___ Haskell-Cafe mailing list

[Haskell-cafe] hsWidgets: yet another GUI library

2010-02-13 Thread Yuras Shumovich
Hello First of all, sorry my pure english... My aim was to prove that haskell GUI library can be: - pure: does not use any kind of mutable variables - statically typed: does not use existential types, Data.Dynamic, etc. - easy to use: simple things should be simple - easy to extend: