thalerjonathan / phd Goto Github PK
View Code? Open in Web Editor NEWStuff of my PhD I want to share publicly: all code, texts of my papers, research-notes & research-diary
License: GNU General Public License v3.0
Stuff of my PhD I want to share publicly: all code, texts of my papers, research-notes & research-diary
License: GNU General Public License v3.0
The work of Ionescou in the paper "A functional framework for agent-based models of exchange" seems very interesting also in my context. It may be an interesting context in which to apply my research as well:
Can we apply reasoning and testing?
Can we add depenent types?
Can we use quickCheck?
Investigate to which extend we can apply UML and Peer-Olafs Framework of modelling agent-based simulations in my pure functional approach.
Investigate if and how property-based testing uising quickcheck can be used in ABS and if it has any benefits.
After finished studying the Idris Book and having developed a proper understanding of Dependen Types, investigate where and how dependent types could be of use in my pure functional approach to ABS. I explicitly want to focus on Idris as context of this research.
main.hs:11:30: error:
* Couldn't match type (a -> b, a)' with
a0 -> b0 -> c0'
Expected type: f (a0 -> b0 -> c0)
Actual type: f (a -> b, a)
* In the second argument of fmap', namely
(() g a)'
In the expression: fmap (uncurry $) (() g a)
In an equation for ap': ap' g a = fmap (uncurry $) (() g a)
* Relevant bindings include
a :: f a (bound at main.hs:11:7)
g :: f (a -> b) (bound at main.hs:11:5)
ap' :: f (a -> b) -> f a -> f b (bound at main.hs:11:1)
|
11 | ap' g a = fmap (uncurry $) (() g a)
The following code:
let mayInf = find (Infected==) aInfs
if isJust mayInf
then return (Infected, Just ())
else return (Susceptible, Nothing)
is the same as the simpler:
if any (Infected ==) aInfs
then return (Infected, Just ())
else return (Susceptible, Nothing)
EDIT: Moves link below. Adds complete code quote to description.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.