thoughtsonprogramming.blogspot.com thoughtsonprogramming.blogspot.com

thoughtsonprogramming.blogspot.com

Thoughts on Programming

Wednesday, December 22, 2010. Sudoku Solver in F#. Arraymap (fun - Console.ReadLine().Split [ ' ' ]) [ 0 . 8 ]. Arraymap (fun b - Array.map (fun x - Convert.ToInt32 (x:string) b ). Let display x =. X Array.iter (fun b -. Arrayiter (fun x - printf "%d " x) b;. Printfn " ;. Let verify1 (grid:int[][]) x y c =. 0 8] List.forall (fun i - grid.[i].[y]. C & grid.[x].[i]. Let verify2 (grid:int[][]) x y c =. Let xs = (x/3)*3 in. Let ys = (y/3)*3 in. Xs (xs 2)] List.forall (fun i -. Let verify grid x y c =. Solve ...

http://thoughtsonprogramming.blogspot.com/

WEBSITE DETAILS
SEO
PAGES
SIMILAR SITES

TRAFFIC RANK FOR THOUGHTSONPROGRAMMING.BLOGSPOT.COM

TODAY'S RATING

>1,000,000

TRAFFIC RANK - AVERAGE PER MONTH

BEST MONTH

August

AVERAGE PER DAY Of THE WEEK

HIGHEST TRAFFIC ON

Sunday

TRAFFIC BY CITY

CUSTOMER REVIEWS

Average Rating: 4.2 out of 5 with 12 reviews
5 star
4
4 star
6
3 star
2
2 star
0
1 star
0

Hey there! Start your review of thoughtsonprogramming.blogspot.com

AVERAGE USER RATING

Write a Review

WEBSITE PREVIEW

Desktop Preview Tablet Preview Mobile Preview

LOAD TIME

0.5 seconds

FAVICON PREVIEW

  • thoughtsonprogramming.blogspot.com

    16x16

  • thoughtsonprogramming.blogspot.com

    32x32

  • thoughtsonprogramming.blogspot.com

    64x64

  • thoughtsonprogramming.blogspot.com

    128x128

CONTACTS AT THOUGHTSONPROGRAMMING.BLOGSPOT.COM

Login

TO VIEW CONTACTS

Remove Contacts

FOR PRIVACY ISSUES

CONTENT

SCORE

6.2

PAGE TITLE
Thoughts on Programming | thoughtsonprogramming.blogspot.com Reviews
<META>
DESCRIPTION
Wednesday, December 22, 2010. Sudoku Solver in F#. Arraymap (fun - Console.ReadLine().Split [ ' ' ]) [ 0 . 8 ]. Arraymap (fun b - Array.map (fun x - Convert.ToInt32 (x:string) b ). Let display x =. X Array.iter (fun b -. Arrayiter (fun x - printf %d x) b;. Printfn ;. Let verify1 (grid:int[][]) x y c =. 0 8] List.forall (fun i - grid.[i].[y]. C & grid.[x].[i]. Let verify2 (grid:int[][]) x y c =. Let xs = (x/3)*3 in. Let ys = (y/3)*3 in. Xs (xs 2)] List.forall (fun i -. Let verify grid x y c =. Solve ...
<META>
KEYWORDS
1 thoughts on programming
2 open system
3 let input =
4 0 then
5 display grid
6 else
7 posted by
8 calmstorm
9 no comments
10 import list
CONTENT
Page content here
KEYWORDS ON
PAGE
thoughts on programming,open system,let input =,0 then,display grid,else,posted by,calmstorm,no comments,import list,import array,grid,if grid,lift display grid,do {,return,case s of,true,not grid,haskell exception handling,import io,case x of,foo n 1
SERVER
GSE
CONTENT-TYPE
utf-8
GOOGLE PREVIEW

Thoughts on Programming | thoughtsonprogramming.blogspot.com Reviews

https://thoughtsonprogramming.blogspot.com

Wednesday, December 22, 2010. Sudoku Solver in F#. Arraymap (fun - Console.ReadLine().Split [ ' ' ]) [ 0 . 8 ]. Arraymap (fun b - Array.map (fun x - Convert.ToInt32 (x:string) b ). Let display x =. X Array.iter (fun b -. Arrayiter (fun x - printf "%d " x) b;. Printfn " ;. Let verify1 (grid:int[][]) x y c =. 0 8] List.forall (fun i - grid.[i].[y]. C & grid.[x].[i]. Let verify2 (grid:int[][]) x y c =. Let xs = (x/3)*3 in. Let ys = (y/3)*3 in. Xs (xs 2)] List.forall (fun i -. Let verify grid x y c =. Solve ...

INTERNAL PAGES

thoughtsonprogramming.blogspot.com thoughtsonprogramming.blogspot.com
1

Thoughts on Programming: October 2010

http://thoughtsonprogramming.blogspot.com/2010_10_01_archive.html

Thursday, October 14, 2010. Foo : Int - IO(). Foo n = do. Left ioerr - if (n 1). Then putStrLn "Not a number! Else putStrLn "Try too many times! Right num - print (num 12). Main = foo 3. Subscribe to: Posts (Atom). View my complete profile. Simple theme. Powered by Blogger.

2

Thoughts on Programming: A Imperative Style Haskell Sudoku Solver

http://thoughtsonprogramming.blogspot.com/2010/12/import-list-import-array-import-control.html

Monday, December 6, 2010. A Imperative Style Haskell Sudoku Solver. Here is the Haskell equivalent of the Sudoku solver in C. I tried to do a line-by-line translation from C to Haskell. I hope the program shows that Haskell is a better imperative language than the imperative languages :-). Import Control.Monad.State. StrToArray : String - Array (Int, Int) Int. StrToArray s = array ( 0,0), (8,8) $ zip [(m,n) m. Map read (concat (map words $ lines s). Display : Array (Int, Int) Int - IO(). PutStrLn " ;.

3

Thoughts on Programming: Sudoku Solver in F#

http://thoughtsonprogramming.blogspot.com/2010/12/sudoku-solver-in-f.html

Wednesday, December 22, 2010. Sudoku Solver in F#. Arraymap (fun - Console.ReadLine().Split [ ' ' ]) [ 0 . 8 ]. Arraymap (fun b - Array.map (fun x - Convert.ToInt32 (x:string) b ). Let display x =. X Array.iter (fun b -. Arrayiter (fun x - printf "%d " x) b;. Printfn " ;. Let verify1 (grid:int[][]) x y c =. 0 8] List.forall (fun i - grid.[i].[y]. C & grid.[x].[i]. Let verify2 (grid:int[][]) x y c =. Let xs = (x/3)*3 in. Let ys = (y/3)*3 in. Xs (xs 2)] List.forall (fun i -. Let verify grid x y c =.

4

Thoughts on Programming: May 2008

http://thoughtsonprogramming.blogspot.com/2008_05_01_archive.html

Friday, May 30, 2008. Write Java Application Using JavaScript. JDK 60 introduces the Java Scripting API. And includes a Javascript scripting engine adapted from Mozilla Rhino project. With Scripting API, it is possible to write applications that end users can extend and customize. Java program can invoke scripting code and vice versa. Here I show an simple application that is primarily written in Javascript. Import javax.script.ScriptEngineManager;. Import javax.script.ScriptEngine;. The code in main.

5

Thoughts on Programming: A Simple Sudoku Solver in C

http://thoughtsonprogramming.blogspot.com/2008/05/simple-sudoku-solver-in-c.html

Tuesday, May 27, 2008. A Simple Sudoku Solver in C. Here is a simple Sudoku solver in C. It uses backtracking technique to find all possible solutions. Display the result. */. Void display(const int grid[][9]). For (i=0; i. For (j=0; j. Printf("%d ", grid[i][j]);. Verify the grid is in valid state */. Int verify(const int grid[][9], int c, int x, int y). Int xs, ys;. For (i=0; i. If (grid[i][y] = c grid[x][i] = c). Xs = x/3;. Ys = y/3;. For (i = xs*3; i. For (j = ys*3; j. If (grid[i][j] = c). For (c=1; c.

UPGRADE TO PREMIUM TO VIEW 2 MORE

TOTAL PAGES IN THIS WEBSITE

7

OTHER SITES

thoughtsonpolicy.com thoughtsonpolicy.com

Thoughts on Policy | That means any policy.

That means any policy. I recently got back into reading Dexter Filkins’s fantastic book. After a hiatus full of fiction. The book is a deep reservoir full of anecdotes about the American experience in democracy building. Filkins, combined with this recent profile of Dick Cheney. Has given me that eureka moment in how conservative American values translate to Neoconservatism. Which is to say Isolationist. Government Liberation not Government Intervention. Democracy is nice when it works. My first thought ...

thoughtsonprocess.blogspot.com thoughtsonprocess.blogspot.com

thoughts on the process

Thoughts on the process. Tuesday, August 26, 2014. Meg is still alive in me. Watch and read about here: http:/ vimeo.com/91961386. Friday, November 1, 2013. Samhain/All Soul's Day, 2013. Tuesday, July 2, 2013. Ricochet' is a commissioned piece to accompany live music performance. Taking the form of a cinepoem, the work uses appropriated footage from the Prelinger archive to explore the haunting nature of our atomic legacy. Wednesday, May 8, 2013. Monday, March 4, 2013. Between here and there. The text me...

thoughtsonproduct.com thoughtsonproduct.com

Thoughts on Product

I run triathlons, ride bikes, build software, hack on side projects, and produce the occasional tune. A lifelong student, recently found philosophy, and interested in what makes for a good life. What I'm working on. Changing the future of agriculture @ The Climate Corporation. Writing a manual on product management principles and tactics - if you want to receive a free copy, sign up to my mailing list at the bottom of this page. Don't get an MBA. Something you need, for something you don't. Success in li...

thoughtsonproduct.wordpress.com thoughtsonproduct.wordpress.com

thoughtsonproduct | Just another WordPress.com site

Just another WordPress.com site. Thoughts to be shared when buying a business or franchise (especially what to watch out). Blackberry Playbook Personal Thoughts. Sony MDR-DS7500 wireless 7.1 headphone Review. Netgear NeoTV 550 Media Player Review. Create a free website or blog at WordPress.com. Blog at WordPress.com. Follow “thoughtsonproduct”. Get every new post delivered to your Inbox. Build a website with WordPress.com. Add your thoughts here. (optional).

thoughtsonprogramming.blogspot.com thoughtsonprogramming.blogspot.com

Thoughts on Programming

Wednesday, December 22, 2010. Sudoku Solver in F#. Arraymap (fun - Console.ReadLine().Split [ ' ' ]) [ 0 . 8 ]. Arraymap (fun b - Array.map (fun x - Convert.ToInt32 (x:string) b ). Let display x =. X Array.iter (fun b -. Arrayiter (fun x - printf "%d " x) b;. Printfn " ;. Let verify1 (grid:int[][]) x y c =. 0 8] List.forall (fun i - grid.[i].[y]. C & grid.[x].[i]. Let verify2 (grid:int[][]) x y c =. Let xs = (x/3)*3 in. Let ys = (y/3)*3 in. Xs (xs 2)] List.forall (fun i -. Let verify grid x y c =. Solve ...

thoughtsonpsychology.blogspot.com thoughtsonpsychology.blogspot.com

Thoughts on Psychology

Sunday, May 3, 2009. During the course of the semester, I focused my studies on politics and psychology. I never knew there were so many psychological aspects that went into deciding whether to vote and who to vote for. One of the reasons is because negative campaigning activates my "fight or flight" response because I think I am in danger. Therefore, I actually respond more to negative campaigning than I do to the tame stuff! I'm sure it will be something I will be studying for a long time! The results ...

thoughtsonpublicrelations.blogspot.com thoughtsonpublicrelations.blogspot.com

Thoughts on Public Relations

Thoughts on Public Relations. This blog collects some thoughts on contemporary issues and theories in Public Relations. Monday, 11 April 2011. CSR: a new business trend (? These days if we look at the website of any big company we are very likely to see that they have a section called Corporate Social Responsibility. Environment and Society, Our Mission. Or something that tells us what the company is doing for the environment or the community. That is what CSR is all about. Some of the benefits. Does not...

thoughtsonpurpose.com thoughtsonpurpose.com

Find the best domain names to register

Register a Domain Name Who Owns This Domain? The domain name registration process for your businesses web site begins here. Register a great domain name with Verio from only $9.95 and receive a free 3 page website and email account. 1 Find Your Domain Name. 2 Choose Your Extensions. Enter up to 5 domain names. Couk ($38 for 2 years). Create the site you want with Verio hosting plan options. Verio is your strategic partner for top-tier hosting for complex websites and dedicated hosting.

thoughtsonpyp.wordpress.com thoughtsonpyp.wordpress.com

Thoughts On PYP

November 29, 2014. November 29, 2014. Jack & Barbra Donachy. PYP and Planning for Instruction. Our team of new PYP teachers at our school reviewed the planning standards and created this diagram to show where we are as a school, in our opinions, and where we would like to improve. We also indicated the positive forces that may help us achieve our desired state as well as the negative forces which may hinder us from the desired state. November 24, 2014. Jack & Barbra Donachy. In a Primary Years Program.