Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

instantiation-error

Prolog – Arguments are not sufficiently instantiated

December 26, 2023 by Tarik

I am writing this answer, because the best answer yet was in a comment by lurker. I want to have it show up as an actual answer. Your code is not working, because you’re doing R1 is R+1 when R isn’t instantiated in the case not_number([X|T], R). Your recursive case is strung a little backwards. … Read more

Categories prolog Tags arguments, instantiation-error, prolog Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa