Hi,
One of my students wrote code like this:
prop_blank s (i,j) li =
if i==li
then
do if something then True else False
else
prop_blank (...) (i,j) (li+1)
This code is not accepted from GHC 6.8.3 because Bool is not a monad.
In particular the error message is:
Sudoku.h
mane.org/gmane.comp.lang.haskell.cafe/45033>
>
> - marc
>
>
> -
> sometimes i think, i should write a paper about it. but then... naah, i'm
> like haskell: non-strict.
>
>
>
>
> Am Donnerstag, 23. Oktober 2008 schrieb Krasimir Angelov:
> > Hi,
> >
gards,
Krasimir
On Thu, Oct 23, 2008 at 10:26 PM, Krasimir Angelov <[EMAIL PROTECTED]>wrote:
> Hi,
>
> Does some one have made performance tests on the different XML libraries
> for Haskell? I have a 20MB xml file that I want to read. I remember from my
> earlier experi
Hi,
Does some one have made performance tests on the different XML libraries for
Haskell? I have a 20MB xml file that I want to read. I remember from my
earlier experiments (years ago) that all libraries were too slow and were
consuming too much memory. I hoped that this situation had changed but
h
data Variant = forall a . Variant (VarType a) a
--
-- Use of Variant
--
import Variant
useIDispatch :: IDispatch -> IO ()
useIDispatch _ =
Hello all,
I have created darcs repository for my hscom library at:
http://darcs.haskell.org/packages/hscom/
This is a FFI library for Microsoft COM. It is far from complete and
it doesn't have automatic IDL->Haskell translator but if you have ever
thought to start writing you own COM library f
Hello Haskellers,
GHC Trac has a Visual Haskell category. Please report all bugs and
feature requests using it.
Cheers,
Krasimir
On 12/8/06, Krasimir Angelov <[EMAIL PROTECTED]> wrote:
Hello Haskellers,
The final version of Visual Haskell 0.2 is ready:
http://www.haske
Hello Haskellers,
The final version of Visual Haskell 0.2 is ready:
http://www.haskell.org/visualhaskell
This is the first version that is:
- available for both VStudio 2003 and VStudio 2005
- distributed with a stable GHC version (6.6)
- the plugin itself is much more stable than its fir
It seems like Cabal is looking for directory "html " i.e. with
trailing space. This sounds like a bug.
Cheers,
Krasimir
On 12/5/06, Conal Elliott <[EMAIL PROTECTED]> wrote:
When I configure libraries (monadLib, arrows) with default locations and
then cabal-haddock my own library, I get this s
2/06, Sven Panne <[EMAIL PROTECTED]> wrote:
Am Freitag, 1. Dezember 2006 21:37 schrieb Krasimir Angelov:
> [...]
> do allocConsole
> .
> .
> putStrLn "Hello, world!"
> .
> .
> freeConsole
> [...]
Having explic
e this to work.
Cheers
Erik Westlin
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Krasimir Angelov
Sent: den 28 november 2006 08:30
To: haskell
Subject: [Haskell] ANNOUNCE: Visual Haskell prerelease 0.2
Hello Haskellers,
I am happy to announce that the
Yes. All patches are pushed in. It is much easier to build it now but
it is still tricky especially if you have to build it manually. It is
much easier if you use VSHaskell to build VSHaskell ;-).
Cheers,
Krasimir
On 11/30/06, Simon Marlow <[EMAIL PROTECTED]> wrote:
Lennart Augustsson wrote:
>
19:40 +0900, Krasimir Angelov <[EMAIL PROTECTED]> wrote:
> As far as I know there is an academic license that allows you to
> use Visual Studio free of charge for non commercial purposes. At least
> I heard that students in some Bulgarian universities are allowed to
> use it. I don
On 11/28/06, Johannes Waldmann <[EMAIL PROTECTED]> wrote:
seriously, how hard would it be to adapt VH to Eclipse?
the interfaces (for syntax highlighting, typechecking etc.)
should be similar - in theory.
Ah, and about Eclipse. Visual Studio and Eclipse are very different
platforms and you have
Hi Johannes,
There is a free version of Visual Studio called Visual C++/C# Express
but it isn't extensible and Visual Haskell can't be integrated with
it. As far as I know there is an academic license that allows you to
use Visual Studio free of charge for non commercial purposes. At least
I hear
Hello Haskellers,
I am happy to announce that there is a prerelease version of Visual Haskell on:
http://www.haskell.org/visualhaskell
This is the first version that is:
- available for both VStudio 2003 and VStudio 2005
- distributed with a stable GHC version (6.6)
This is still prerele
Hello Guys,
In the past year I had a lot of requests for Visual Haskell for Visual
Studio 2005. Unfortunately the Visual Haskell code was broken after
the latest GHC changes. These days I had enough time to fix it and now
it is working well with VStudio 2003. There are very few changes that
are r
It was very interesting reading. Thanks! The slightly anecdotal style
of writing is making it even pleasant to read.
On 7/14/06, Simon Peyton-Jones <[EMAIL PROTECTED]> wrote:
Friends,
Phil Wadler, John Hughes, Paul Hudak and I have been writing a paper
about the
The History of Haskell
System.Cmd.rawSystem provides more portable interface than
System.Cmd.system. The behaviour of System.Cmd.system depends on the
installed system shell. rawSystem directly creates a new process
without interaction with the shell. System.Process module provides
even more advanced API.
Cheers,
Kra
There was lots of suggestions for the future development of HNOP. Is
it too late to propose Google SoC project for it? At least it will be
a good candidate for the next summer.
Cheers,
Krasimir
2006/6/30, Greg Fitzgerald <[EMAIL PROTECTED]>:
I once worked for a company at which HNOP could be u
Visual Haskell is now with BSD license and it is open sourced. See
http://darcs.haskell.org/vshaskell/
Cheers,
Krasimir
2006/3/28, Ashley Yakeley <[EMAIL PROTECTED]>:
> Paul Johnson wrote:
>
> > I've never used Visual Haskell, but from the web page two things stand out:
> >
> > 1: Its version
As an author of HSQL and Visual Haskell I do agree that there is still
a lot to be done in order to make Haskell as popular as C++/Java in
the industry. We need strong support for GUI, Database, XML and many
other libraries that the other languages already have. The existing
development environment
[move to [EMAIL PROTECTED]
Yes. I agree here. There should be two modules say:
System.FilePath.Posix & System.FilePath.Windows. There should be a
third module System.FilePath that have to use the native path. It
should switch between the Posix and Windows implementations either at
runtime (Hugs, N
Hello Haskellers,
There was a long discussion in October 2004, about the a FilePath
module which is currently used in Cabal. There was an idea to move it
to the standard libraries but since there were a lot of objections it
was removed.
http://www.haskell.org/pipermail/libraries/2004-October/0025
There are three active database libraries: HDBC, HSQL and Takusen. It
is quite disappointing from my point of view. Recently there was the
same situation with the GUI libraires. The Haskell Community is quite
small to waste efforts, developing different libraries for the same
things. When I started
2006/1/10, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> It seems using types to enforce the policy that a data base handle
> cannot ever `leak' out might be a better idea, in Haskell. It is quite
> straight-forward to do so: cf. the design of the ST monad guarantees
> that an STRef cannot `leak' out in
The point isn't in the amount of coding but in the performance. It
isn't required to build intermediate data structures.
2006/1/4, John Goerzen <[EMAIL PROTECTED]>:
> On 2006-01-04, John Goerzen <[EMAIL PROTECTED]> wrote:
> > It's probably the same amount of coding either way:
> >
>
> [hsql-esque
2006/1/4, John Goerzen <[EMAIL PROTECTED]>:
> After looking at the code again, it's possible that it's because you're
> never calling pqClear on the result set. So the results returned by
> PostgreSQL linger in memory forever.
Right! This was a bug. It is fixed now. Thanks.
> I did have memory i
2006/1/4, John Goerzen <[EMAIL PROTECTED]>:
> The final thing that prompted me to do this was that the PostgreSQL --
> and possibly the Sqlite -- module for HSQL was segfaulting. I spent
> quite a bit of time with gdb and the HSQL code, and even with Simon
> Marlow's assistance, was unable to trac
2005/12/21, John Goerzen <[EMAIL PROTECTED]>:
> Hi,
>
> I'm pleased to announce the first alpha release (I could call it a
> "developer's preview", but then I don't wear a suit) of HDBC.
>
> HDBC is the Haskell Database Connectivity library. It is patterned
> after Perl's DBI. I wrote it from scr
2005/12/16, Wolfgang Jeltsch <[EMAIL PROTECTED]>:
> Am Freitag, 16. Dezember 2005 10:00 schrieb Krasimir Angelov:
> > [...]
>
> > Home page
> > ~
> >
> > http://htoolkit.sourceforge.net
>
> By the way, are you still working on the actual
What is new?
~~
1. Driver for Oracle
2. getFieldValueMB is deprecated. Now there is the instance declaration:
instance SqlBind a => SqlBind (Maybe a)
It allows to use getFieldValue instead of getFieldValueMB.
Thanks to Frederik Eaton for this idea.
3. Database.HSQL.SQLite is renamed to
2005/12/8, Bulat Ziganshin <[EMAIL PROTECTED]>:
> imho, it's better to start from NewBinary library and add features of
> SerTH to it. i can make TH support. btw, where i can download
> NewBinary version about you talk? there is many different variations.
Thanks. Your help will be appreciable. I a
Hello Guys,
I am looking at SerTH. The serialization of cyclic datastructures is
quite useful feature but since I did some performance testing I found
that it is too slow and consumes a lot of memory. It isn't surprising,
since the cycles detection has extra overhead. I have changed the
SerTH sour
cular, if one sends a mail
> to a list that one is subscribed to, one will not see a second copy of
> the mail when it is eventually posted. This behaviour is usually
> exactly what one wants, but it can be a little confusing sometimes.
>
> Hope this helps.
>
>
> -Rob
&g
Hi Guys,
Yesterday I sent a message to [EMAIL PROTECTED] mailing list but
it seems like the message isn't dispatched yet. Is there any problem
with the list or I have to send the message again?
Cheers,
Krasimir
___
Haskell mailing list
Haskell@haskell
2005/8/24, John Meacham <[EMAIL PROTECTED]>:
> ooh. neat. any chance it could be extended to preserve haddock comments
> and attach them to the right places? I thought it would be really cool
> if compilers could use the haddock documentation when printing out error
> messages and be able to query
On 8/4/05, Simon Marlow <[EMAIL PROTECTED]> wrote:
> * Support for Microsoft DevHelp and HtmlHelp 2.0 formats.
Just to clarify. DevHelp is developed from GNOME and is available only
for Linux. HtmlHelp is Microsoft specific format.
___
Haskell mailing
I am pleased to announce the HSQL library version 1.6. The HSQL is a
simple library, which provides interface to multiple databases. MySQL,
PostgreSQL, ODBC, SQLite and MSI (new) are currently supported.
What is new?
~~
1. HSQL is fully Cabalized.
2. Windows users don't need to have
(==) and f.
Cheers,
Krasimir
On 4/27/05, Andre Pang <[EMAIL PROTECTED]> wrote:
> On 27/04/2005, at 9:26 PM, Krasimir Angelov wrote:
>
> > RankN and Exists are completelly different. The types of RankNEq and
> > ExistsEq constructors are:
> >
> > RankNEq :: (
RankN and Exists are completelly different. The types of RankNEq and
ExistsEq constructors are:
RankNEq :: (forall a. Eq a => a -> a -> Bool) -> RankN
ExistsEq :: forall a. Eq a => (a -> a -> Bool) -> Exists
i.e. RankNEq requires one argument, which is a polymorfic function
that have to be applie
Hello, Guys
I am playing with the attached implementation of Trie. My first test I compared
(Trie Char Int) with (FiniteMap String Int). The test is shows that
the trie is much faster in lookup but the insertion is slower for
large data sets. The lookup in Trie is about 65% faster and this
does
is an overkill since we can just
define IO as
type IO a = ST RealWorld a
Krasimir
--- Keean Schupke <[EMAIL PROTECTED]> wrote:
> Krasimir Angelov wrote:
>
> >ered on top of ST and the stToIO is
> >the lifting function. What does 'automatically be
> >lifted
--- Keean Schupke <[EMAIL PROTECTED]> wrote:
>
> >> Note that 2-rank type of runSTInit doesn't allow
> to
> >> execute regular IO actions. Even that (ST s a)
> allows
> >> actions like readRef and writeRef. This allows to
> >> initialise local references but doesn't allow to
> >> access other to
--- Ben Rudiak-Gould
<[EMAIL PROTECTED]> wrote:
> This is solved by merging the IO and ST monads,
> something that ought to
> be done anyway:
>
> type IO = ST RealWorld
> type IORef a = Ref RealWorld a
> type STRef s a = Ref s a
>
> newRef :: a -> ST s (Ref s a) -- replaces
> n
You must call ./configure script with
--enable-dotnet option and rebuild GHC.
Cheers,
Krasimir
--- Vincenzo aka Nick Name
<[EMAIL PROTECTED]> wrote:
> On Wednesday 15 September 2004 08:44, Krasimir
> Angelov wrote:
> > The Sigbjorn Finne's .NET integration is also
--- [EMAIL PROTECTED] wrote:
> * Can Haskell code be integrated with .NET, in case
> the department
> should decide to base more of its software on this
> platform? (I have found
> Sigbjorn Finne's integration of Hugs with .NET, but
> I would prefer the
> native-code compilation of GHC. I remem
--- Simon Marlow <[EMAIL PROTECTED]> wrote:
> We would be delighted if someone would take Robert's
> hsdebug and port it
> to the non-speculative version of the compiler. In
> fact, this is one of
> the items on the GHC Task list:
>
>
http://sourceforge.net/pm/task.php?func=detailtask&project_tas
I am pleased to announce the HSQL library version
1.4. The HSQL is a simple library, which provides
interface to multiple databases. MySQL, PostgreSQL,
ODBC and SQLite are currently supported.
What is new?
1. The ODBC interface provides the "driverConnect"
function which is an al
Hi Clive,
Currently the HSQL supports only ODBC & SQLite under
Windows. Probably it will be not so hard to make HSQL
working with PostgreSQL and MySQL but requires some
hacks in the configure/Makefile scripts. For the time
beings you can use ODBC driver for MySQL.
Krasimir
--- Clive Brettingh
--- Bjorn Bringert <[EMAIL PROTECTED]> wrote:
> The Haskell HTTP client implementation available
> from [1] seems to be
> without a maintainer (if anyone knows how to reach
> Warrick Gray, who
> wrote it, let me know).
>
> I include a modified version of this module in the
> XML-RPC library [2]
Dear Haskellers,
I am pleased to announce the HSQL library version 1.2.
The HSQL is a simple library, which provides interface
to multiple databases. MySQL, PostgreSQL, ODBC and
SQLite are currently supported.
What is new?
1. The library namespaces are changed as follows:
-
--- Arun Kumar S Jadhav <[EMAIL PROTECTED]> wrote:
> I tried to install port (after installig haddock),
> but it says it can't find
> libs directory of haddock (specifically it says it
> doesn't find base.haddock).
> Any solution to this?, 'coz I very badly want to try
> out HToolkit.
This is no
Dear Haskellers,
I am pleased to announce HToolkit 1.2 for
Haskell. The HToolkit is a platform independent
package for Graphical User Interface. The package
is split into two libraries GIO and Port. The Port
is a low-level Haskell 98+FFI compatible API, while
GIO is a high-level user friendly int
Dear Haskellers,
I am pleased to announce HToolkit 1.2 for
Haskell. The HToolkit is a platform independent
package for Graphical User Interface. The package
is split into two libraries GIO and Port. The Port
is a low-level Haskell 98+FFI compatible API, while
GIO is a high-level user friendly
--- "Gottfried F. Zojer" <[EMAIL PROTECTED]> wrote:
> P.s. Is somebody using Haskell in combination with
> PostgreSQL via C/or C++ interface.
The PostgreSQL interface is available with HSQL
library. The HSQL is available from:
https://sourceforge.net/project/showfiles.php?group_id=65248
Cheers
> It looks interesting. Where can I download and try
> it?
Oops. I forget to post the url.
http://htoolkit.sourceforge.net
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_
--- Martin Norbäck <[EMAIL PROTECTED]> wrote:
> mån 2003-09-08 klockan 21.21 skrev Krasimir Angelov:
> > Dear Haskellers
> >
> > I am pleased to announce HSQL 1.0. The
> package is
> > intended to give access to PostgresSQL, MySQL and
> OD
Dear Haskellers
I am pleased to announce HSQL 1.0. The package is
intended to give access to PostgresSQL, MySQL and ODBC
databases. The HSQL is a part of HToolkit project but
like GIO and Port it can be distributed as separate
bundle.
This is the first public release but as far as
--- Hal Daume III <[EMAIL PROTECTED]> wrote:
> Hi fellow Haskellers,
>
> I'm attempting to get a sense of the topology of the
> Haskell
> community. Based on the Haskell Communities &
> Activities reports, it
> seems that the large majority of people use Haskell
> for Haskell's sake.
In our offi
+---+
|ANNOUNCEMENT: HToolkit 1.0 released
|
+---+
| author: Krasimir Angelov
|
| www : http://htoolkit.sourceforge.net
|
| forum
Hi, Shae
> Also, HToolkit has working but not yet stable
> support for both postgresql and
> mysql. I haven't tried the mysql interface myself,
> but I have tried the
> postgresql code. It works, but it does explode if
> you do something unexpected.
> http://sourceforge.net/projects/htoolkit/
--- Simon Peyton-Jones <[EMAIL PROTECTED]> wrote:
> | going to stop gtk+hs because of this". So it seems
> we are all
> | waiting for the critical user mass that makes our
> own beloved
> | GUI library (binding) the standard GUI library.
> For the sake
> | of Haskell, we can only hope that this
--- Axel Simon <[EMAIL PROTECTED]> wrote:
> Hi Krasimir,
>
> In the last two years I have implemented a binding
> of Gtk Version 2 to
> Haskell. I read the first paper about Object I/O of
> Peter Achten and Simon
> PJ which was published in IFL'00. I wondered if I
> could supply a layer
> like
Hi, Haskellers
An update is available for ObjectIO for GHC-5.04.
Just extract the package over the GHC directory to
update the library.
More information:
http://haskell.cs.yale.edu/ObjectIO
This is the package:
http://haskell.cs.yale.edu/ObjectIO/ObjectIO_update.zip
Krasimir
___
Hello, Jonas
Is there any chance to run the hIDE under Windows?
__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
___
Haskell mailing list
[EMAIL PROT
in using of HSQL I will place it
on CVS.
Krasimir Angelov
__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
module HSQL
( SqlBind(..), SqlError(..), SqlType(..), Connecti
See http://www.haskell.org/ObjectIO
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listi
--- Peter Achten <[EMAIL PROTECTED]> wrote:
> Hello Krasimir,
>
> I am very curious about your implementation of the
> Object I/O system, but
> unfortunately could not open the .zip files either
> (same symptoms as Arjan
> van IJzendoorn wrote). Could you check the formats
> of these files? Th
--- Peter Achten <[EMAIL PROTECTED]> wrote:
> Perhaps there is an interesting alternative that
> covers all GOOD points and has fewer BAD points.
Some pieces of library can be simplified if redefine:
data WindowLSHandle ls ps
= WindowLSHandle
{ wlsState:: ls
, wlsHan
The first release, 0.1, of Object I/O is now
available.
The Object I/O for Haskell library is a port of
standard Clean Object I/O library. The general
structure of the Haskell version is inherited from the
original library but there are also few differences
provoked from the languages differenc
Hi
Currently I translate Clean Object I/O library to
Haskell. The process is near its completion. I agree
that Clean and Haskell are very similar.
__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
72 matches
Mail list logo