Custom Query (7494 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 7494)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#2540 fixed [Text.Regex] incorrect word boundary ("\\b") substitutions. Bug in regex-compat's subRegex handling of BOL flags. ChrisKuklewicz Eelis-
Description

Consider:

  import Text.Regex
  main = putStrLn $ subRegex (mkRegex "\\b(.)") "abcdef" "|\\1"

This outputs "|a|b|c|d|e|f", while it really should output "|abcdef" (at least according to Perl and Ruby).

#7143 fixed ghc-7.6.0.20120810-x86_64-windows.exe -> ghc can't figure out LLVM version Fanael cetinsert
Description

I have downloaded:

ghc: ghc-7.6.0.20120810-x86_64-windows.exe

mingw64: http://www.drangon.org/mingw/mirror.php?num=2&fname=mingw-w64-bin-x86_64-20120807.7z

llvm64: http://www.drangon.org/mingw/mirror.php?num=2&fname=llvm-3.1-w64-bin-x86_64-20120610.7z

my path contains:

/c/ghc/ghc-7.6.0.20120810/bin:/c/Users/Cetin/AppData/Roaming/cabal/bin:/c/llvm/bin:/c/mw64/bin

When I run:

ghc -fllvm --make Main.hs

I get:

[1 of 1] Compiling Main             ( Main.hs, Main.o )

<no location info>:
    Warning: Couldn't figure out LLVM version!
             Make sure you have installed LLVM

Attached is the output from:

ghc -v3 -fllvm --make Main.hs

for all Main.hs - it mentions:

*** LlVM CodeGen:
Error (figuring out LLVM version): : runInteractiveProcess: invalid argument (Invalid argument)

<no location info>:
    Warning: Couldn't figure out LLVM version!
             Make sure you have installed LLVM
*** LLVM Optimiser:
"" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.ll" "-o" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.bc" "-mem2reg" "--enable-tbaa=true"


Failed: "" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.ll" "-o" "C:\Users\Cetin\AppData\Local\Temp\ghc6036_0\ghc6036_0.bc" "-mem2reg" "--enable-tb
#6094 fixed runInteractiveProcess not using new PATH GregWeber GregWeber
Description

run the below program with something like: rm -r foo; ghc env.hs && ./env

import System.Process( runInteractiveProcess, waitForProcess, ProcessHandle )
import System.Directory

main = do
  createDirectory "foo"
  writeFile "foo/bar" "#!/bin/sh\necho baz"
  (inH,outH,errH,procH) <- runInteractiveProcess "chmod" ["+x", "./foo/bar"] Nothing $ Just [("PATH","./foo")]
  ex <- waitForProcess procH
  print ex -- ExitSuccess
  (inH,outH,errH,procH) <- runInteractiveProcess "env" ["PATH=./foo", "bar"] Nothing $ Just [("PATH","./foo")]
  ex <- waitForProcess procH
  print ex -- ExitSuccess
  (inH,outH,errH,procH) <- runInteractiveProcess "bar" [] Nothing $ Just [("PATH","./foo")]
  ex <- waitForProcess procH
  print ex -- ExitFailure 127 (indicates command not found)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.