Pugs.hs
Pugs.hs copied to clipboard
(ARCHIVE) Raku User's Golfing System in Haskell
Hi, It does not compile under Windows 7 if I use cabal install pugs. I used HaskellPlatform-7.10.3-x86_64-setup.exe set path=%path%;L:\Program Files\Haskell Platform\7.10.3\bin ldflags: -L"C:\Perl16_2\lib\CORE" does not contain -libpath: at Configure.PL line...
Tracks a specification change that is causing a lot of failures.
As @geekosaur explained on #perl6 : > cabal doesn't so much try things, in the sense of try the compile and then try it again on fail. it's just a...
< [Coke]> pugs: my $str = "foobar"; say substr($str, *-1); pugs: OUTPUT«foobar» < [Coke]> pugs: my $str = "foobar"; say substr($str, -1); pugs: OUTPUT«r» See t/spec/S32-str/substr.t for tests.
Pugs.hs build fails on latest haskell platform (2012.2.0.0 with GHC 7.4.1). The OS is windows 7 64 bit. ``` C:\>cabal update Downloading the latest package list from hackage.haskell.org C:\>cabal install...
Deleting this file has no impact on the build or the spectests. Can we delete it? Some documentation in HACKING explaining how the Prelude is constructed and used at runtime...
``` pugs> my $a = 1..2; pugs> say $a; 1 2 pugs> say $a.WHAT; Array ```
``` p6: use Test; ok(any(1|0), "how many tests?") niecza v15-6-gefda208: OUTPUT«ok 1 - how many tests?» ..pugs: OUTPUT«pugs: *** Unsafe function 'use' called under safe mode at /tmp/kAdBVcKtTv line 1,...
Many of the spec test files warn about this, e.g.: ``` *** Can't locate Pugs/Runtime/Match/HsBridge.pm in @INC (@INC contains: /home/coke/.cabal/share/Pugs-6.2.13.20120717/blib6/pugs/perl5/lib /home/coke/.cabal/share/Pugs-6.2.13.20120717/blib6/pugs/perl5/lib /home/coke/.cabal/share/Pugs-6.2.13.20120717/blib6/pugs/perl5/lib /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux-thread-multi /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2 /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux-thread-multi /home/coke/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2 .) at (eval 7)...
The following code (cribbed from t/spec/S32-trig/cos.t) fails: ``` class NotComplex is Cool { has $.value; multi method new(Complex $value is copy) { self.bless(*, :$value); } } my $a = NotComplex.new(0...