Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
.Net Assemblies/WSDL Import Utility for Delphi 6.0.4.0
Devart Excel Add-in for Zendesk 1.7
Excel Add-in for Marketo 1.7
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Top Code
MCU 8051 IDE 1.4.7
HTMLPad 2018 15.5
BedRock IDE 1.0
Email Grabber
jQuery Slider Ken Burns 1.0
Guest Book V. 2 V2
XML Products Showcase Slider 1.0
ActivePerl 5.8.4.810/5.6.1.638
Azizi search engine script PHP 4.1.10
Adaptive multi-focus image fusion using a wavelet-based statistical sharpness measure 1.0
STDF file reader 1.0
Hotel Management - Full Board Version 6.55
The Karma Language 1.0
jQuery Accordion Photo Gallery 1.0
RLS Algorithm Demo 1.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
Sudoku solver in functional-programming style 
File ID: 64763






Sudoku solver in functional-programming style 
Download Sudoku solver in functional-programming style http://code.activestate.com/recipes/577129-run-asynchronous-tasks-using-coroutines/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 132
Submit Rating:
Sudoku solver in functional-programming style  Description
Description: A simple brute-force Sudoku solver written in functional-programming style. This code is not aimed for speed, the goal is to write a clear, compact and (hopefully) pedagogical functional solution.

License: Freeware

Related: Functional, recursion, Sudoku

O/S:Windows

Downloads: 132



More Similar Code

In functional programming, currying is a way to bind arguments with
a function and wait for the rest of the arguments to show up later.
You "curry in" the first few parameters to a function, giving
you a function that takes subsequent parameters as input and
calls the original with all of those parameters. This recipe uses
a class instance to hold the parameters before their first use.
For example:



FRELL - framework and tool-set for comfortable web developing in lazy-programming style



Sudoku Solver - A generic implementation of Donald Knuth's Dancing Links algorithm and a number of techniques, translated into rules, implemented in JESS.



This is a very simple, short Sudoku solver using a classic brute-force approach.

What makes it nice is the purely arithmetic one-liner computing the constraint c (the sequence of already used digits on the same row, same column, same...



SUDOKU_LVL2 - A Sudoku Solver.

Usage : Sol=sudoku_lvl2(A)
Where A is a incomplete sudoku grid (9 x 9) represented as a 9 x 9 matrix of integers (0-9) with the empty cells being filled with zeros.

The algorithm presented...



Functional Programming for Python. Provides a small mixin to provide 1) type constraints for named tuples 2) pre/postcondition typechecking for functions 3) syntactical sugar to make your code look pretty (accomplished through a PEP 302 import hook)



No Latte is an interpreter for a variation of the Latte language (cf. http://www.latte.org/) for writing XHTML documents in a functional-programming style---LaTeX sensibilities with LISP semantics.



The article is 3rd in the series on Functional Programming in Python series. Like in the previous articles it continues the discussion on FP by illustrating its additional capabilities, like currying and other higher-order functions contained in...



This article offers introduction to functional programming (FP) in Python. It introduces the learner to different programs on problem-solving. It demonstrates several intermediate and advanced FP concepts. This article also includes code snippets



Python allows some degree of functional programming. Using the reduce() function and the lambda form we can express the common tab ->spaces expansion routine in a simpler and more efficient way

User Review for Sudoku solver in functional-programming style
- required fields
     

Please enter text on the image