[Haskell-cafe] problem with haskell-mode mailing list?

2011-01-08 Thread Alex Ott
Hello all

Sorry for writing into this mailing list, but I couldn't get answer from
supp...@community.haskell.org address because my mails are returned with
errors.  And I couldn't found

The problem is that if I send mail to
haskellmode-em...@projects.haskell.org my mails are not delivered to
mailing list with error that google mail server couldn't connect to
haskell.org's mail server.  

If somebody could help me with this problem, please contact me - I'll
provide more details on this issue

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/http://alexott.net/
http://alexott-ru.blogspot.com/
Skype: alex.ott

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] problem with inf-haskell + ghci?

2009-06-01 Thread Alex Ott
Hello all

I recently found strange problem in use of inf-haskell + ghci on my Mac OS
X Tyger.  I haven't used inf-haskell for a some time, and several days ago
i found, that it stopped to work - when I run C-c C-l (load file) it signal
error, and when I perform C-c C-b (start interpreter) it load it, but
entering of any text in it, leads to message:

Leaving GHCi.
Process haskell finished

In terminal ghci works fine, but I couldn't find why ghci terminates when
it called from Emacs. May be somebody had such problem with ghci?

P.S. I use Carbon Emacs 22 + ghc 6.10.1 installed from macports

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] SoC idea: interactive profiling

2009-03-22 Thread Alex Ott
Hello

 PG == Patai Gergely writes:
 PG Hello all, I entered a little proposal in the issue tracker:

 PG http://hackage.haskell.org/trac/summer-of-code/ticket/1570

 PG As I see it, the graphical part could be a warm-up exercise with an
 PG already useful product, and interaction with the rts would be the
 PG actual challenge. Reasoning about laziness is far from trivial (at
 PG least I often feel lost when trying to grok all the interaction within
 PG Reactive ;), and being able to browse profiler output on the spot is
 PG something I felt the need for a few times already. Eventually, this
 PG could be a contribution to an IDE project, even though it could as
 PG well remain a standalone application for all the emacs/vi folk.

 PG Profiling tools for parallel programs are in the make already, but I
 PG haven't seen anything more convenient than hp2ps and little add hoc
 PG solutions for analysing resource usage patterns. How do you all go
 PG about profiling?

May be providing profiling information for kcachegrind will be a good
solution?  For example, there are tools for PHP, that allow to view
collected information in kcachegrind, and get interactive zooming, etc.

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] [ANN] Working with HLint from Emacs

2009-02-08 Thread Alex Ott
Hello

On Wed, Jan 28, 2009 at 12:30 PM, Colin Paul Adams
co...@colina.demon.co.uk wrote:
 Alex == Alex Ott alex...@gmail.com writes:

Alex Hello For Emacs users it could be interesting - I wrote
Alex small module for more comfortable work with HLint from
Alex Emacs. It has same functionality as compilation-mode -
Alex navigation between errors, etc.

 I've done that.
 Now how do you get it to do anything?

In your source file, opened in Emacs, just press C-c l, and it will run
HLint and you'll able to navigate between suggestions with C-x `
combination.

P.S. Today i released the second version of package, that allows to apply
suggestions to source code - see more details at
http://alexott.blogspot.com/2009/02/second-version-of-hs-lint-package.html

-- 
With best wishes,Alex Ott, MBA
http://alexott.blogspot.com/
http://alexott-ru.blogspot.com/
http://xtalk.msk.su/~ott/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Re: WYSIWYG literate programming

2009-01-28 Thread Alex Ott
 G == Gour  writes:
 Massimiliano == Massimiliano Gubinelli m.gubine...@gmail.com writes:
 Massimiliano As far as Haskell is concerned, a good interface, would
 Massimiliano allow to bypass programs like lhs2tex or in general allow
 Massimiliano for beautyful editing  Of course not everyone has the
 Massimiliano same concerns...

 G Have you tried Emacs with Pretty Lambda for Haskell-mode?

 G 
http://haskell.org/haskellwiki/Emacs#Unicodifying_symbols_.28Pretty_Lambda_for_Haskell-mode.29

At http://xtalk.msk.su/~ott/common/emacs/rc/emacs-rc-pretty-lambda.el.html
you can find slightly modified version of version of pretty lambda code
from haskell wiki - i added several symbols, and fix regex to work properly
with symbols like ===, etc.

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/   http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Error in HTTP 4.004 + CouchDB?

2009-01-22 Thread Alex Ott
Hello

(i sent this message to the mail of author, specified at hackage, but it
returned to me, so i decided to resend it here)

I found strange thing during work with latest versions of CouchDB  HTTP
module on my Mac OS X 10.4. The problem is, that when i send document to
the couchdb server, it name was cut to the 2 characters.

After some investigation i found, that this is problem in combination of
the CouchDB + HTTP usage.  CouchDB module fills out the Request structure,
and specify scheme  authority fields.  This lead that i see (in network
dumps) following data:

PUT http://127.0.0.1:5984/test1/Users_ott_tmp_1_tst HTTP/1.1
Content-Type: ...
...
Host: 127.0.0.1:5984
...

instead of proper 

PUT /test1/Users_ott_tmp_1_tst HTTP/1.1

I can eliminate this by explicitly setting of the scheme  authority into
empty values, but this lead to improper creation of the  Host header in
request:

PUT /test1/Users_ott_tmp_1_tst HTTP/1.1
Content-Type: ...
...
Host: 
...

I tried to fix this problem myself, but I'm novice in the industrial
Haskell programming ;-)

P.S. this code from (CouchDB/HTTP.hs) will restore proper behaviour of the
code, but break Host header

makeURL path query = CouchMonad $ \conn - do
  return ( (ccURI conn) { uriPath = '/':path
, uriQuery = if null query then  else 
'?':(urlEncodeVars query)
, uriScheme = 
, uriAuthority = Nothing
}
 ,conn )

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] [ANN] Working with HLint from Emacs

2009-01-14 Thread Alex Ott
 AV == Andrea Vezzosi writes:
 AV Does it also let you apply a suggestion automatically?  

Not, i'll look for this suggestion, but i'm not sure, that this is possible 

--
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/   http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANN: json-0.4.1

2009-01-13 Thread Alex Ott
Hello

 SF == Sigbjorn Finne writes:
 SF Hi, a new release of the 'json' package is now available via hackage,
 SF version 0.4.1

 SF   http://hackage.haskell.org/cgi-bin/hackage-scripts/package/json

I tried to upgrade it via cabal on mac os x  linux (both use ghc 6.10.1)
and it fails with

Building json-0.4.1...

Text/JSON/Generic.hs:33:7:
Could not find module `Data.Generics':
  it was found in multiple packages: base-3.0.3.0 syb
cabal: Error: some packages failed to install:
json-0.4.1 failed during the building phase. The exception was:
exit: ExitFailure 1

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] [ANN] Working with HLint from Emacs

2009-01-11 Thread Alex Ott
Hello

For Emacs users it could be interesting - I wrote small module for more
comfortable work with HLint from Emacs. It has same functionality as
compilation-mode - navigation between errors, etc.

To use it, just add following code to emacs init file:

(require 'hs-lint)
(defun my-haskell-mode-hook ()
(local-set-key \C-cl 'hs-lint))
(add-hook 'haskell-mode-hook 'my-haskell-mode-hook)

Module is available from http://xtalk.msk.su/~ott/common/emacs/hs-lint.el

-- 
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/http://xtalk.msk.su/~ott/
http://alexott-ru.blogspot.com/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe