hi frerich,
On May 31, 2013, at 2:17 AM, Frerich Raabe wrote:
> Is anybody aware of open source projects which I could look at, or is there
> maybe a conventional file extension for… what do you call them, "Shakefiles"?
> other than .hs which I could google for?
we are using a shake-based build
On Jan 19, 2013, at 10:29 PM, Nathan Hüsken wrote:
> Recently I managed to get ghc to target android working (this still
> needs some work): [4].
this is great news, thanks!
> Of couse, ffi bindings for all these platforms would be needed to get
> serious.
i think that you can get quite seriou
On 20.04.12 10:07, Øystein Kolsrud wrote:
> Hi! Does anyone know if it is possible to use QtHaskell with profiling turned
> on?
afair i've used it when profiling an application (not qtHaskell itself). what's
the problem you're running into?
you need to compile the library with profiling support
On 25.03.12 09:38, Heinrich Apfelmus wrote:
> John Lato wrote:
>>> From: Heinrich Apfelmus
>>>
>>> Also, as far as I am aware, you can't do low-level audio programming in
>>> SuperCollider, i.e. play a list of samples that you've calculated
>>> yourself. That's cool if you're only interested in sou
On 9/9/11 1:44 PM, Aleksey Khudyakov wrote:
If you install hmatrix with -fVector key it will use storable vectors
from vector package.
that flag defaults to True, so the representations are actually the same
by default:
http://hackage.haskell.org/packages/archive/hmatrix/0.12.0.0/hmatrix.cab
On 5/12/11 4:03 PM, Serguey Zefirov wrote:
Just pretty-print a Exp.
It seems that "show $ ppr exp" will produce exactly what you need.
The same goes for Dec (declarations), etc.
ah ok, thanks!
fwiw, here's a way to extract a list of module names that need to be
imported, adapted from an exa
hi,
i was wondering if it's possible to directly generate Haskell source
code from a Template Haskell `Q Exp', i.e. use TH as a kind of
preprocessor? i am asking because currently the iOS port of ghc doesn't
support TH and i need to generate some instances for the persistent
package [1,2].
On 10.02.11 12:12, Duncan Coutts wrote:
> We are already working on a feature that will show the full set of
> licenses that the end user must comply with (a patch has been submitted
> and it's been through one round of review so far). In your example that
> would mean you expect the set to be {BSD
On 28.12.10 21:25, John Meacham wrote:
> jhc generated C works on the android/ARM just fine. Android specific
> libraries arn't available, so you would have to bind to what you want
> with the FFI.
is there a recommended procedure for porting code from GHC to JHC? i'd like to
port an application o
On 23.11.10 09:36, Christopher Done wrote:
> What version of GHC/qtHaskell?
i've also noticed this on linux and osx with ghc 6.12.1/6.12.3 and qtHaskell
1.1.3.5/1.1.4. possibly a memory leak in ghc --make?
___
Haskell-Cafe mailing list
Haskell-Cafe@has
On 18.11.10 21:28, c8h10n4o2 wrote:
> There's a tutorial on how to use qtDesigner with qtHaskell ?
sorry, i don't know of any tutorial, but there are some examples in the
`examples' directory of the source distribution (e.g. tetrix.hs). basically you
load the ui file, retrieve named widgets and at
hi all,
i am working on an application that evaluates haskell code entered by the user
using the plugins package [1]; now i want to deploy the application as a
self-contained .app bundle on OSX, i.e. the end user should not have to install
anything in addition.
what do i need to bundle in order f
following up on haskell-cafe ...
On 07.07.10 04:07, Maria Gabriela Valdes wrote:
> Does anybody know what are the analogous functions and data types in the
> haskell library "Sound.File.Sndfile" of the libsndfile library in C ?
the decision may be debatable, but where it seemed appropriate the
On 13.04.10 14:46, Mozhgan kabiri wrote:
> I am trying to install Criterion package, but I keep getting an error
> and I can't figure it out why it is like this !!
[...]
> [8 of 9] Compiling Data.Vector.Algorithms.Intro (
> Data/Vector/Algorithms/Intro.hs, dist/build/Data/Vector/Algorithms/Intro.o
On 02.04.10 18:59, aditya siram wrote:
> Yes Haskell is not strong on the GUI end of things but have you
> considered turning your desktop app into a web app? I've done this for
> a few things and really enjoyed the process. Haskell's STM is what
> makes this so nice.
>
> Basically the you start a
> This is a general problem when working with RULES-based
> optimisations. Here is an example of what happens: suppose we have
>
> foo :: Vector Int -> Vector Int
> foo xs = map (+1) xs
>
> Now, GHC will generate a nice tight loop for this but if in a
> different module, we have something like th
hi,
two questions in one post:
i've been hunting down some performance problems in DSP code using vector and
the single most important transformation seems to be throwing in INLINE pragmas
for any function that uses vector combinators and is to be called from
higher-level code. failing to do so s
On 12.02.10 16:29, Simon Marlow wrote:
> I'm aware that some people need a GC with shorter pause times. We'll
> probably put that on the roadmap at some point.
for some applications (like realtime audio processing) it would be interesting
to even have short pause times with a guaranteed upper bou
On 11.02.10 18:55, Henning Thielemann wrote:
>> i've been using the library for wavelet transforms, matching pursuits
>> and the like,
>
> Nice I have also worked on this topics, even with Haskell. However, at
> that time I used plain lists.
interesting! was performance acceptable for practical wo
On 10.02.10 19:03, Bryan O'Sullivan wrote:
> I'm thinking of switching the statistics library over to using vector.
that would be even better of course! an O(0) solution, at least for me ;) let me
know if i can be of any help (e.g. in testing). i suppose uvector-algorithms
would also need to be po
hi,
i've been using the vector [1] library for implementing some signal processing
algorithms, but now i'd like to use the statistics [2] package on my data, which
is based on the uvector [3] library. is there a (straightforward) way of
converting between vectors and uvectors, preferrably O(1)?
t
hi roel,
On 09.12.09 16:50, Roel van Dijk wrote:
> On Wed, Dec 9, 2009 at 4:20 PM, stefan kersten wrote:
>> looks great, thanks! do you happen to have some example code for working with
>> HID devices (mice, keyboards, etc.)?
>
> The usb package does not support the v
On 09.12.09 14:35, Bas van Dijk wrote:
> I made a new release of my usb library for high-level communication
> with usb devices from Haskell.
looks great, thanks! do you happen to have some example code for working with
HID devices (mice, keyboards, etc.)?
___
hi matthew,
On 09.12.09 14:37, Matthew wrote:
> Yesterday, I set out to accomplish the challenge of loading and playing
> a sound from a file.
> So far, my attempts have resulted only in silence... rather
> disheartening after all the effort
> it took to get everything to build and run cleanly.
>
On Sun, Jul 27, 2008 at 03:08:04PM +, Jean-Philippe Bernardy wrote:
> I'm very pleased to announce the 0.4.1 release of the Yi editor.
great, i can't wait to check it out ...
i get the following error when installing via hackage/cabal (ghc 6.8.1, cabal
1.4.0.1):
Yi/Buffer.hs:253:0:
No in
On 18.07.2008, at 19:47, Don Stewart wrote:
sk:
On 17.07.2008, at 21:46, Lennart Augustsson wrote:
If scaleFloat and exponent are implemented with bit twiddling
they can
be quite fast.
is there a way in ghc to 'cast' between float/int32 and double/int64
(without going through memory)?
Yea
On 18.07.2008, at 13:05, Henning Thielemann wrote:
On Fri, 18 Jul 2008, stefan kersten wrote:
On 17.07.2008, at 21:46, Lennart Augustsson wrote:
If scaleFloat and exponent are implemented with bit twiddling
they can
be quite fast.
is there a way in ghc to 'cast' between float
On 17.07.2008, at 21:46, Lennart Augustsson wrote:
If scaleFloat and exponent are implemented with bit twiddling they can
be quite fast.
is there a way in ghc to 'cast' between float/int32 and double/int64
(without going through memory)?
___
Has
On 17.07.2008, at 17:18, Henning Thielemann wrote:
i've attached an example program which seems to indicate that the
magnitude function from Data.Complex is very slow compared to a
more naive implementation (for Complex Float). on my machine
(intel core2 duo, osx 10.4) the CPU time using the
On 17.07.2008, at 17:42, Ian Lynagh wrote:
On Thu, Jul 17, 2008 at 05:18:01PM +0200, Henning Thielemann wrote:
Complex.magnitude must prevent overflows, that is, if you just square
1e200::Double you get an overflow, although the end result may be
also
around 1e200. I guess, that to this end Co
hi,
i've attached an example program which seems to indicate that the
magnitude function from Data.Complex is very slow compared to a more
naive implementation (for Complex Float). on my machine (intel core2
duo, osx 10.4) the CPU time using the library function is about 6-7
times as much
On 14.07.2008, at 20:48, Don Stewart wrote:
Yes, we have long been discussing a generic Stream library to which
the various sequence structures can be translated to and from. Already
it is useful to say, stream bytestrings into uvectors and out to
lists.
could the Stream interface be made pub
On 14.07.2008, at 18:10, Lyle Kopnicky wrote:
You should use the most mature and stable package, which is of
course, uvector, being a whole 0.0.0.1 versions past vector.
oops, didn't notice the thread announcing vector. i'll stick with
uvector then for the time being :)
_
On 14.07.2008, at 18:42, Jules Bean wrote:
It would be helpful to see the programs people are writing with
uvector,
so I can polish up the API some more :)
It would also be helpful to have someone explain why we have:
Ptr a
ByteString
IOUArray
IOCArray
Data.Storable.StorableArray
UArr
Of co
currently i'm working on stuff that looks something like this:
1 read soundfile from disk in blocks of N samples (IOCArray, hsndfile
package)
2 convert to CArray with unsafeFreeze (simple O(1) cast, carray package)
3 perform FFT (CArray, fftw package)
4 convert to UArr (uvector package)
5 do s
hi,
what's the difference between the vector [1] and uvector [2]
packages? should one of those preferred over the other?
thanks,
[1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/
vector-0.1
[2] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/
uvector-0.1.0.1
___
hi,
i'm having problems with a very simple example using conal elliott's
'reactive' library:
module Main where
import Control.Applicative
import Control.Concurrent
import Control.Monad
import Data.Reactive
import System.Random
main :: IO ()
main = do
(e, snk) <- mkEvent
forkIO $ for
On 25.01.2008, at 00:04, Evan Laforge wrote:
Well... ghc still has a single-threaded garbage collector, so all the
"par" threads must stop for garbage collection. So scaling to the
level of a cluster would be significantly sub-linear.
A real time incremental gc would be really cool. Some peop
hi john,
On 11.12.2007, at 18:14, John Lato wrote:
I've been working on a library to encode/decode audio files (wave,
aiff, etc.) to and from lazy bytestrings, and it's finally in a form
where I'm willing to share. It's available at
http://mml.music.utexas.edu/jwlato/HSoundFile/, lightly cabali
On 02.12.2007, at 22:34, Eric Sessoms wrote:
Just add
Build-Tools: c2hs
And cabal will take it from there.
thanks eric, that's really pleasingly simple (it appears that the
Build-Tools: line isn't even needed).
___
Haskell-Cafe mailing list
Ha
hi,
i'm looking for a way to integrate c2hs (single .chs file) in a cabal
build setup; can anybody give me some hints?
thanks,
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 16.11.2007, at 13:55, Jim Burton wrote:
The docs say "Should be of the form http://host:port, host,
host:port, or
http://host"; but none of the variations work. Any ideas where I
might find
an example of code that does this?
this works for me (modulo error handling):
simpleHTTP' :: Requ
On 19.11.2007, at 19:54, Peter Verswyvelen wrote:
I can find the paper, but is the source code for that Space
Invaders alike game also available somewhere?
it's included here: http://haskell.org/yampa/afrp-0.4-src.tgz
btw, does anybody know what's the current state of affairs with yampa/
afr
43 matches
Mail list logo