News aggregator

cabal sandbox using absolute path on symlinked dir

haskell-cafe - Fri, 10/10/2014 - 3:14pm
Hello Cafe, On Ubuntu, after creating a sandboxed project in a symlinked directory, cabal.sandbox.config contains absolute (canonical) paths of the directory, and not the symlinked paths. Is this a bug, and is there a way to correct that behavior? There is no way to move the project to a different place without recreating the whole sandbox. Best regards, vlatko
Categories: Offsite Discussion

Chaining a map over lists with lenses

haskell-cafe - Fri, 10/10/2014 - 2:51pm
Hi! I’m sure the answer to this question is under my eyes but I can’t understand it only from the docs. Suppose a data type like this: data Type1 = Type1 { _myField :: [Type2] } makeLenses ‘’Type1 data Type2 = Type2 { _otherField :: String } Then with t^.myField I get access to the [Type2] list. Now, i would like to go through each element of the list, apply the otherField lens to each element, and get the list of the results. Of course this means: map (view otherField) (t^.myField) but I’m sure there’s some combinator to do the same thing by chaining lenses/prisms/traversals/whatever, right? E.g. something like t^.myField.something.otherField I’m still trying to understand the full picture about lenses, but afaik what I need is a prism, because a list is a sum type, right? Thank you for your help, Nicola
Categories: Offsite Discussion

Mathematics of Program Construction (MPC 2015): firstcall for papers

General haskell list - Fri, 10/10/2014 - 1:59pm
Apologies for multiple copies. FIRST CALL FOR PAPERS 12th International Conference on Mathematics of Program Construction (MPC 2015) Königswinter, Germany, 29 June - 1 July 2015 http://www.cs.ox.ac.uk/conferences/MPC2015/ BACKGROUND The MPC conferences aim to promote the development of mathematical principles and techniques that are demonstrably practical and effective in the process of constructing computer programs, broadly interpreted. The 2015 MPC conference will be held in Königswinter, Germany, from 29th June to 1st July 2015. The previous conferences were held in Twente, The Netherlands (1989), Oxford, UK (1992), Kloster Irsee, Germany (1995), Marstrand, Sweden (1998), Ponte de Lima, Portugal (2000), Dagstuhl, Germany (2002), Stirling, UK (2004, colocated with AMAST), Kuressaare, Estonia (2006, colocated with AMAST), Marseille, France (2008), Québec City, Canada (2010, colocated with AMAST), and Madrid, Spain (2012). TOPICS Papers are solicited on mathematical methods and tools put to use
Categories: Incoming News

Skills Matter

del.icio.us/haskell - Fri, 10/10/2014 - 12:55pm
Categories: Offsite Blogs

Announcing Unagi-chan

Haskell on Reddit - Fri, 10/10/2014 - 10:23am
Categories: Incoming News

Skills Matter

del.icio.us/haskell - Fri, 10/10/2014 - 10:06am
Categories: Offsite Blogs

Skills Matter

del.icio.us/haskell - Fri, 10/10/2014 - 10:06am
Categories: Offsite Blogs

Need help testing hGetContents modification

haskell-cafe - Fri, 10/10/2014 - 8:43am
I uploaded a change to hGetContents as D327 on Phabricator to address TRAC #9236. In particular, this generates an error when attempting to read from a closed handle instead of silently returning an empty string. I would love to get some help testing this against code that uses lazy I/O heavily, *especially* with pipes, sockets, and other such weirdness, if such things exist in the wild. I don't usually read haskell-cafe, so please send responses to my address as well as the list. Thanks a lot, David Feuer _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe< at >haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Categories: Offsite Discussion

Stackage Server

del.icio.us/haskell - Fri, 10/10/2014 - 7:03am
Categories: Offsite Blogs

Stackage Server

del.icio.us/haskell - Fri, 10/10/2014 - 7:03am
Categories: Offsite Blogs

Skills Matter

del.icio.us/haskell - Fri, 10/10/2014 - 6:28am
Categories: Offsite Blogs

Functional Jobs: Functional Software Engineer at Cake Solutions Ltd (Full-time)

Planet Haskell - Fri, 10/10/2014 - 6:02am

At Cake Solutions we work with our customers to build high-quality, scalable and resilient software systems using the latest technology. As a software engineer, you'll not only be able to write good, maintainable software, but also stay at the forefront of technology and advocate a principled approach to software engineering. You'll get the opportunity to work on a wide range of interesting projects for our clients, using Java, Scala, Play, and Akka.

What to expect:

To begin with, you will take part in a 2 week Typesafe certified workshop style training course where you will get introduced to Scala, Akka and Play.

You can expect a lively and challenging environment with very interesting problems to solve. We are happy to train and mentor the right people; the important thing is to have a bright mind and the motivation to question, explore and learn. Having published work, on Github or elsewhere, is extremely helpful. CVs should focus on what you really know, not what you've seen once.

If you are a graduate, we are not expecting commercial experience, but we want to see evidence of hobby / university engineering. We do, however, expect you to be independent and to have good understanding of the principles of software engineering.

You will also get flexible working hours and gym membership.

Skills & Requirements As a software engineer at Cake Solutions, you should:

-- Have a good understanding of Java and the JVM. Experience with Scala is a plus.

-- Know how to use UNIX or Linux.

-- Know how to apply object-oriented and functional programming styles to real-world software engineering.

-- Have experience with at least one database system and be aware of the wider database landscape (relational, document, key/value, graph, ...).

-Understand modern software development practices, such as testing, continuous integration and producing maintainable code.

Advantages include:

-- Open-source contributions.

-- Modern web development experience.

-- An understanding of asynchronous and non-blocking principles.

-- Experience in writing multi-threaded software.

-- More detailed knowledge of strongly-typed functional programming (e.g. Scala, Haskell, OCaml).

-- Even more specifically, experience with Akka or Play.

About Cake Solutions Ltd Cake Solutions architects, implements and maintains modern and scalable software, which includes server-side, rich browser applications and mobile development. Alongside the software engineering and delivery, Cake Solutions provides mentoring and training services. Whatever scale of system you ask us to develop, we will deliver the entire solution, not just lines of code. We appreciate the importance of good testing,Continuous Integration and delivery, and DevOps. We motivate, mentor and guide entire teams through modern software engineering. This enables us to deliver not just software, but to transform the way organisations think about and execute software delivery.

The core members of our team are published authors and experienced speakers. Our teams have extensive experience in designing and implementing event-driven, resilient, responsive and scalable systems. We use modern programming languages such as Scala, Java, C++, Objective-C, and JavaScript to implement the systems' components. We make the most of messaging infrastructures, modern DBMSs, and all other services that make up today's enterprise systems. Automated provisioning, testing, integration and delivery allow us to release high quality systems safely and predictably. The mentoring through continuous improvement at all levels of the project work gives our clients the insight and flexibility they expect.

We rely on open source software in our day-to-day development; it gives us access to very high quality code, allows us to make improvements if we need to, and provides access to excellent source of inspiration and talent. We give back to the open source community by contributing to the open source projects we use, and by publishing our own open source projects. The team have contributed various Typesafe Activator templates, and shared their expertise with Akka and Scala in Akka Patterns and Akka Extras. Outside of the Typesafe stack, we have contributed to Tru-strap, and OpenCV. The team members have also created open source projects that scratch our own itch: we have Reactive Monitor, Specs2 Spring and Scalad.

Get information on how to apply for this position.

Categories: Offsite Blogs

Current state-of-the-art in getting a dev env set up(windows 8)

haskell-cafe - Fri, 10/10/2014 - 2:15am
What is the current advice for getting a haskell dev env set up on windows? There's a lot of options, and it can be hard to quickly determine which are current and which are deprecated/bit-rotted. For example, apparently cabal sandbox is preferred over cabal-dev these days. I've read: http://onoffswitch.net/started-haskell/ http://stackoverflow.com/questions/304614/haskell-on-windows-setup http://coldwa.st/e/blog/2013-08-20-Cabal-sandbox.html http://bob.ippoli.to/archives/2013/01/11/getting-started-with-haskell/ I've installed the latest haskell platform (2014.2), and am using Sublime Text 2 as my editor. SublimeHaskell is installed, but apparently it needs aeson, haskell-src-ext, and haddock. cabal install aeson indicates that it will break unordered-containers-0.2.4.0 and case-insensitive-1.1.0.3, so I must use --force-reinstalls to get it. I'm doing this in a sandbox, in case it is a terrible idea. https://github.com/SublimeHaskell/SublimeHaskell Not yet sure how I'm going to get the sandbox install
Categories: Offsite Discussion

Tom Schrijvers: ICFP 2015: Call for Workshop and Co-Located Event Proposals

Planet Haskell - Fri, 10/10/2014 - 12:58am
         CALL FOR WORKSHOP AND CO-LOCATED EVENT PROPOSALS
                            ICFP 2015
 20th ACM SIGPLAN International Conference on Functional Programming
                   August 30 – September 5, 2015
                        Vancouver, Canada
               http://icfpconference.org/icfp2015/

The 120th ACM SIGPLAN International Conference on Functional
Programming will be held in Vancouver, British Columbia, Canada on
August 30-September 5, 2015.  ICFP provides a forum for researchers
and developers to hear about the latest work on the design,
implementations, principles, and uses of functional programming.

Proposals are invited for workshops (and other co-located events, such
as tutorials) to be affiliated with ICFP 2015 and sponsored by
SIGPLAN. These events should be less formal and more focused than ICFP
itself, include sessions that enable interaction among the attendees,
and foster the exchange of new ideas. The preference is for one-day
events, but other schedules can also be considered.

The workshops are scheduled to occur on August 30 (the day
before ICFP) and September 3-5 (the three days after ICFP).

----------------------------------------------------------------------

Submission details
 Deadline for submission:     November 16, 2014
 Notification of acceptance:  December 15, 2014

Prospective organizers of workshops or other co-located events are
invited to submit a completed workshop proposal form in plain text
format to the ICFP 2015 workshop co-chairs (Tom Schrijvers and Nicolas
Wu), via email to icfp2015-workshops@cs.kuleuven.be by November 16,
2014. (For proposals of co-located events other than workshops, please
fill in the workshop proposal form and just leave blank any sections
that do not apply.) Please note that this is a firm deadline.

Organizers will be notified if their event proposal is accepted by
December 15, 2014, and if successful, depending on the event, they
will be asked to produce a final report after the event has taken
place that is suitable for publication in SIGPLAN Notices.

The proposal form is available at:

http://www.icfpconference.org/icfp2015/icfp15-workshops-form.txt

Further information about SIGPLAN sponsorship is available at:

http://acm.org/sigplan/sigplan_workshop_proposal.htm

----------------------------------------------------------------------

Selection committee

The proposals will be evaluated by a committee comprising the
following members of the ICFP 2015 organising committee, together with
the members of the SIGPLAN executive committee.

 Workshop Co-Chair: Tom Schrijvers                          (KU Leuven)
 Workshop Co-Chair: Nicolas Wu                   (University of Oxford)
 General Chair :    Kathleen Fisher                  (Tufts University)
 Program Chair:     John Reppy                (University of Chicago)


----------------------------------------------------------------------

Further information

Any queries should be addressed to the workshop co-chairs (Tom
Schrijvers and Nicolas Wu), via email to
icfp2015-workshops@cs.kuleuven.be.

Categories: Offsite Blogs

ICFP 2015 Call for Workshop and Co-located EventProposals

haskell-cafe - Thu, 10/09/2014 - 11:32pm
CALL FOR WORKSHOP AND CO-LOCATED EVENT PROPOSALS ICFP 2015 20th ACM SIGPLAN International Conference on Functional Programming August 30 - September 5, 2015 Vancouver, Canada http://icfpconference.org/icfp2015/ The 120th ACM SIGPLAN International Conference on Functional Programming will be held in Vancouver, British Columbia, Canada on August 30-September 5, 2015. ICFP provides a forum for researchers and developers to hear about the latest work on the design, implementations, principles, and uses of functional programming. Proposals are invited for workshops (and other co-located events, such as tutorials) to be affiliated with ICFP 2015 and sponsored by SIGPLAN. These events should be less formal and more focused than ICFP itself, include sessions that enable interaction among the attendees, and foster the exchange of new ideas. The preference is for one-day events, but other schedules can also be considered
Categories: Offsite Discussion

ICFP 2015 Call for Workshop and Co-located Event Proposals

General haskell list - Thu, 10/09/2014 - 11:32pm
CALL FOR WORKSHOP AND CO-LOCATED EVENT PROPOSALS ICFP 2015 20th ACM SIGPLAN International Conference on Functional Programming August 30 - September 5, 2015 Vancouver, Canada http://icfpconference.org/icfp2015/ The 120th ACM SIGPLAN International Conference on Functional Programming will be held in Vancouver, British Columbia, Canada on August 30-September 5, 2015. ICFP provides a forum for researchers and developers to hear about the latest work on the design, implementations, principles, and uses of functional programming. Proposals are invited for workshops (and other co-located events, such as tutorials) to be affiliated with ICFP 2015 and sponsored by SIGPLAN. These events should be less formal and more focused than ICFP itself, include sessions that enable interaction among the attendees, and foster the exchange of new ideas. The preference is for one-day events, but other schedules can also be considered
Categories: Incoming News

Function that turns a list to a list of lists with each inner list breaking off at a specific length

Haskell on Reddit - Thu, 10/09/2014 - 9:37pm

I am looking for a standard function that would be sort of the opposite to concat. Something such as

backwardsConcat :: Int -> [a] -> [[a]]

that works like this

backwardsConcat 2 [1,2,3,4,5,6,7,8,9,10] [[1,2],[3,4],[5,6],[7,8],[9,10]]

Does anything similar exist?

submitted by Labutsiaq
[link] [20 comments]
Categories: Incoming News