Re: [Haskell-cafe] text-icu on Windows

2013-04-27 Thread Ryan Yates
of icu4c (the one I used said it was built with Visual Studio 10) you could avoid this. Ryan Yates On Sat, Apr 27, 2013 at 4:56 PM, John MacFarlane j...@berkeley.edu wrote: Hello café: I'd very much like to get text-icu working on Windows, as then I could ship pandoc binaries that do proper

Re: [Haskell-cafe] text-icu on Windows

2013-04-27 Thread Ryan Yates
start because icuin51.dll is missing from your computer. Try reinstalling the program to fix this problem. --- OK --- Ryan Yates On Sat, Apr 27, 2013 at 7:53 PM, Ryan Yates fryguy...@gmail.com wrote: Hi John, I just tried this out

Re: [Haskell-cafe] Problems with code blocks in the description field in a .cabal file

2013-02-04 Thread Ryan Yates
Hi Josef, You should be fine if you follow Haddock formatting. For example: http://hackage.haskell.org/package/lens Is from the cabal file: http://hackage.haskell.org/packages/archive/lens/3.8.5/lens.cabal Ryan On Mon, Feb 4, 2013 at 7:30 AM, Josef Svenningsson

Re: [Haskell-cafe] Problems with code blocks in the description field in a .cabal file

2013-02-04 Thread Ryan Yates
of the curly braces. Thanks, Josef On Mon, Feb 4, 2013 at 2:01 PM, Ryan Yates fryguy...@gmail.com wrote: Hi Josef, You should be fine if you follow Haddock formatting. For example: http://hackage.haskell.org/package/lens Is from the cabal file: http://hackage.haskell.org/packages

Re: [Haskell-cafe] The last statement in a 'do' construct must be an expression: a - readArray arr (1, 1)

2012-04-23 Thread Ryan Yates
Perhaps you are mixing tabs and spaces? On Mon, Apr 23, 2012 at 4:52 PM, KC kc1...@gmail.com wrote: I'm getting the above error message and I cannot figure out why? buildPair = do arr - newArray ((1,1),(1,10)) 37 :: ST s (STArray s (Int,Int) Int) a - readArray arr (1,1)

Re: [Haskell-cafe] Project Euler Problem 357 in Haskell

2011-11-08 Thread Ryan Yates
If I compile with optimizations: ghc --make -O3 primes.hs I get an answer that is off by one from the C++ program in a few seconds. On Tue, Nov 8, 2011 at 7:46 AM, mukesh tiwari mukeshtiwari.ii...@gmail.com wrote: In that loop , I  am collecting all the primes in vector how ever I changed

Re: [Haskell-cafe] Project Euler Problem 357 in Haskell

2011-11-08 Thread Ryan Yates
I forgot to add, I'm on 32-bit GHC and the sum will overflow there, so I changed main: main = putStrLn . show . sum $ ([ if and [ pList ! i , divPrime . pred $ i ] then (fromIntegral $ pred i) else 0 | i - [ 2 .. 10 ^ 8 ] ] :: [Integer]) On Tue, Nov 8, 2011 at 8:19 AM, Ryan Yates fryguy

Re: [Haskell-cafe] ANN: diagrams 0.4

2011-10-23 Thread Ryan Yates
and feature    requests. Happy diagramming! Brought to you by the diagrams team: -   Brent Yorgey -   Ryan Yates with contributions from: -   Sam Griffin -   Claude Heiland-Allen -   John Lato -   Vilhelm Sjöberg -   Luite Stegeman -   Kanchalai Suveepattananont -   Scott Walck [1] http

Re: [Haskell-cafe] Haskell transformation of C code

2011-08-17 Thread Ryan Yates
I had to stare at this for a while to see the difference. In the C++ version the comparison's in loop B and loop C are always between areas of triangles that are off by one in a single index. In the haskell calArea though, comparisons are between the passed area and triangles off by one from the

Re: [Haskell-cafe] Win32: cabal install --prefix=$HOME --user ?

2011-06-16 Thread Ryan Yates
There is a nice table in the cabal docs that explains how prefix gets used: http://www.haskell.org/ghc/docs/7.0.4/html/Cabal/builders.html#simple-paths For Vista and above C:\Documents and settings\myusername\ is C:\Users\myusername. The equivalent to $HOME on Windows would be $USERPROFILE but

Re: [Haskell-cafe] Win32: cabal install --prefix=$HOME --user ?

2011-06-16 Thread Ryan Yates
, 2011 at 6:18 PM, Ryan Yates fryguy...@gmail.com wrote: There is a nice table in the cabal docs that explains how prefix gets used: http://www.haskell.org/ghc/docs/7.0.4/html/Cabal/builders.html#simple-paths For Vista and above C:\Documents and settings\myusername\ is C:\Users\myusername

Re: [Haskell-cafe] Can't build Gtk2hs on Windows

2011-05-05 Thread Ryan Yates
Daniel, Nice summery. I think one of the difficult issues is my patch in http://hackage.haskell.org/trac/gtk2hs/ticket/1203 is something worthy of scare quotes. I'm not a Cabal developer and I have no clue what the implications of that change are. For all I know things would cease working on

Re: [Haskell-cafe] Can't build Gtk2hs on Windows

2011-05-04 Thread Ryan Yates
On Wed, May 4, 2011 at 4:58 PM, Andrew Coppin andrewcop...@btinternet.com wrote: 2. http://hackage.haskell.org/trac/gtk2hs/ticket/1203 Another workaround for this is to install global: cabal install cairo --global Ryan ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Install GTK on Windows

2011-03-15 Thread Ryan Yates
Hi Pedro, Perhaps the libglib-2.0.0.dll that is getting loaded is not the one you want. You should be able to use a tool like process explorer [1] to see which specific dlls are getting loaded when you run. Ryan [1] http://technet.microsoft.com/en-us/sysinternals/bb896653 2011/3/15 José Pedro

Re: [Haskell-cafe] Error while registering packages: cairo glib

2011-03-12 Thread Ryan Yates
Hi Daniel, I experienced this problem yesterday and reported the issue here: http://hackage.haskell.org/trac/gtk2hs/ticket/1203 With some small changes to the Gtk2hsSetup.hs it registers successfully. Hope this helps, Ryan http://hackage.haskell.org/trac/gtk2hs/ticket/1203 On Sat, Mar 12,

Re: [Haskell-cafe] Yesod 0.7.1 using GHC 7.0.2 on Arch Linux

2011-03-12 Thread Ryan Yates
Looks to be reported here: http://hackage.haskell.org/trac/ghc/ticket/5004 http://hackage.haskell.org/trac/ghc/ticket/5004Ryan On Sat, Mar 12, 2011 at 3:26 PM, Ertugrul Soeylemez e...@ertes.de wrote: Hello there, today I have upgraded to GHC 7.0.2 by doing a system update on my Arch Linux

Re: [Haskell-cafe] Install GTK on Windows

2011-02-25 Thread Ryan Yates
In my experience cross platform tools do not work in the presence of spaces in paths. Because of this when on Windows I have the habit of putting any cross platform libraries or tools in a non-spaced path. Another option could be to use the short path names when setting the PATH. GHC and cabal

Re: [Haskell-cafe] Review request for platform independent interactive graphics with VNC

2011-02-03 Thread Ryan Yates
are commented out). Ryan Yates On Thu, Feb 3, 2011 at 6:15 AM, C K Kashyap ckkash...@gmail.com wrote: Hi, I've been working on a Haskell based platform independent graphics rendering using VNC. I'd like it very much if you could take a look at it and give me feedback. Using it is straight forward

Re: [Haskell-cafe] Review request for platform independent interactive graphics with VNC

2011-02-03 Thread Ryan Yates
I think you want: git clone git://github.com/ckkashyap/Chitra.git On Thu, Feb 3, 2011 at 10:50 AM, Christian Maeder christian.mae...@dfki.dewrote: Am 03.02.2011 12:15, schrieb C K Kashyap: Hi, I've been working on a Haskell based platform independent graphics rendering using VNC. I'd

Re: [Haskell-cafe] haskell platform windows download url

2010-12-20 Thread Ryan Yates
On http://hackage.haskell.org/platform/windows.html , the link for download haskell for windows is: http://lambda.galois.com/hp-tmp/2010.2.0.0/HaskellPlatform-2010.2.0.0-setup.exe Is this normal? After some URL guessing the following link works for me:

Re: [Haskell-cafe] [ANNAUNCE] ghcjs-0.1.0 Haskell to Javascript compiler

2010-10-27 Thread Ryan Yates
I ran into a problem with line 31 of examples/rts-common.js when running on Chrome: var word16addCarry = function function(a, b, c) { Shouldn't that be: var word16addCarry = function(a, b, c) { With that change it runs fine for me (GHC 6.12.3). Chrome also wasn't happy loading from the

Re: [Haskell-cafe] [ANNAUNCE] ghcjs-0.1.0 Haskell to Javascript compiler

2010-10-27 Thread Ryan Yates
I wasn't able to run it in Chrome without dedicated HTTP-server, seems like it is the only way... It looks like running Chrome with the flag: -allow-file-access-from-files lets it work. Thanks for making this project, I'm looking forward to more! Ryan

Re: [Haskell-cafe] Problem with System.Timeout in Windows

2010-08-05 Thread Ryan Yates
I tried your example on 6.12.3 and it worked fine for me (Windows 7). Ryan Yates On Thu, Aug 5, 2010 at 1:35 AM, Adolfo Builes builes.ado...@googlemail.comwrote: Hi All: I have been trying to use System.timeout in windows, but for some reason it doesn't work, a concrete example