Login
|
Signup
langref.org
-
clojure
add..
all
cpp
csharp
erlang
fantom
fsharp
go
groovy
haskell
java
ocaml
perl
php
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Files
Writing
Write a string to a file
clojure
(with-out-writer "output.txt" (println "Hello file!"))
(use '[clojure.contrib.duck-streams :only (with-out-writer)])
(with-out-writer "output.txt" (println "Hello file!"))
Submit a new solution for
clojure
There are 18 other solutions in
additional
languages (
cpp
,
csharp
,
erlang
,
fantom
...)